/* RockDevTech Premium Portfolio Stylesheet */

/* --- Temel Değişkenler & Sıfırlama --- */
:root {
    --bg-primary: #060709;      /* Pure rich dark titanium */
    --bg-secondary: #0c0d10;    /* Deep dark steel */
    --bg-tertiary: #121418;     /* Dark metallic slate */
    --accent-purple: #ffffff;   /* Pure white titanium glow */
    --accent-violet: #8a99ad;   /* Premium silver slate */
    --accent-teal: #e2e8f0;     /* Platinum white */
    --accent-orange: #475569;   /* Steel gray */
    
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;  /* Soft silver-gray */
    --text-muted: #64748b;      /* Muted steel gray */
    
    --card-bg: rgba(18, 20, 24, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-glow: rgba(255, 255, 255, 0.05);
    
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-purple) var(--bg-primary);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Koyu Scrollbar Tasarımı */
body::-webkit-scrollbar {
    width: 6px;
}
body::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
body::-webkit-scrollbar-thumb {
    background-color: var(--accent-purple);
    border-radius: 3px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

ul {
    list-style: none;
}

/* --- Özel İmleç (Custom Cursor) --- */
.cursor-dot,
.cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-purple);
    box-shadow: 0 0 10px var(--accent-purple);
}

.cursor-circle {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.08s ease-out, width 0.3s, height 0.3s;
}

/* İmleç Hover Efektleri */
.cursor-active .cursor-circle {
    width: 64px;
    height: 64px;
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-purple);
}
.cursor-active .cursor-dot {
    width: 12px;
    height: 12px;
    background-color: var(--accent-teal);
    box-shadow: 0 0 15px var(--accent-teal);
}

@media (max-width: 1024px) {
    .cursor-dot, .cursor-circle {
        display: none;
    }
}

/* --- Genel Buton & Link Tasarımları --- */
.footer {
    position: relative;
    background-color: #060709; /* Matches the dark background of first image */
    border-top: 1px solid var(--card-border);
    padding: 100px 0 60px 0;
    overflow: hidden;
}

.footer-wave-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.footer-wave-svg {
    width: 100%;
    height: 100%;
}

.footer-video-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    object-fit: cover;
    z-index: 0;
    opacity: 0.25; /* Tech-themed dark moving background */
    filter: blur(8px);
    transform: scale(1.05); /* Prevents blur halo leak */
    pointer-events: none;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.footer-grid-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

/* Left Column Styling */
.footer-left {
    display: none;
}
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-bottom-left .logo {
    position: static !important;
    transform: none !important;
}

.footer-bottom-left .footer-copyright-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-end;
}

.footer-legal-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-legal-links a:hover {
    color: var(--text-primary);
}

/* Right Column Styling (Centered Menu & Details) */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: 100%;
}

.footer-large-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-large-nav .nav-item {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45); /* Muted slate/gray matching image */
    transition: var(--transition-smooth);
    letter-spacing: -0.5px;
}

.footer-large-nav .nav-item:hover {
    color: var(--text-primary);
    transform: translateY(-3px);
}

.footer-action-area {
    margin-top: 40px;
}

.footer-cta-btn {
    /* Pill button matching Teklif Al button */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-violet));
    border: none;
    padding: 14px 44px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    box-shadow: 0 10px 25px rgba(97, 85, 245, 0.25);
    transition: var(--transition-fast);
}

.footer-social-row {
    display: flex;
    gap: 20px;
    margin-top: 45px;
}

.footer-social-row .social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-social-row .social-icon:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border-color: transparent;
    transform: translateY(-3px);
}


/* Responsive Rules for Large Footer */
@media (max-width: 991px) {
    .footer-right {
        align-items: center;
        text-align: center;
    }
    
    .footer-large-nav {
        align-items: center;
    }
    
    .footer-large-nav .nav-item:hover {
        transform: translateY(-3px);
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        margin-top: 50px;
        padding-top: 25px;
    }
    
    .footer-bottom-left {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 60px 0 40px 0;
    }
    .footer-large-nav .nav-item {
        font-size: 28px;
    }
    .footer-legal-links {
        gap: 12px;
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-violet));
    color: var(--bg-primary); /* Dark text for contrast on light gradient */
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.btn-primary.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-primary.btn-full {
    width: 100%;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid var(--card-border);
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Grid & Konteyner --- */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 30px;
}

.text-center {
    text-align: center;
}

.section-badge {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title span {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* --- Header / Navbar Tasarımı --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 11, 16, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition-fast);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative; /* Added to support absolute centering of the logo */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-container .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent-purple);
}

.logo-icon-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-trigger {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: var(--transition-fast);
}

.menu-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-purple);
}

.burger-line {
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Burger Açık Durumu */
.menu-open .burger-line.line-1 {
    transform: translateY(7px) rotate(45deg);
}
.menu-open .burger-line.line-2 {
    opacity: 0;
}
.menu-open .burger-line.line-3 {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Kahraman (Hero) Bölümü --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 7, 9, 0.95) 0%, rgba(6, 7, 9, 0.4) 50%, rgba(6, 7, 9, 0.95) 100%),
                url('../images/rockdevtech.webp') no-repeat center center / cover;
    opacity: 0.35; /* Fades the background illustration nicely */
    z-index: 0;
    pointer-events: none;
}

.background-glows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background-color: var(--accent-purple);
    top: -50px;
    right: 10%;
}

.glow-2 {
    width: 350px;
    height: 350px;
    background-color: var(--accent-violet);
    bottom: 50px;
    left: 5%;
}

.hero-container {
    width: 100%;
    max-width: 100%;
    padding: 0 40px 0 80px; /* Shift content closer to the right edge */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Push stats column left, content column right */
    gap: 80px; /* Spacing between stats column and content column */
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align components to the right */
    text-align: right; /* Align text to the right */
    max-width: 700px; /* Adjusted to fit the headline on single lines */
    width: 100%;
}

.hero-stats .badge {
    margin-bottom: 25px;
    align-self: flex-start;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 58px; /* Slightly reduced to keep it compact and readable */
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap; /* Ensures "Birlikte İnşa Ediyoruz" is always on a single line */
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-actions {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-right: 1px solid var(--card-border); /* Subtle vertical divider line */
    padding-right: 40px; /* Space before divider */
    min-width: 250px;
    flex-shrink: 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-value {
    min-width: 90px;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-plus {
    color: var(--accent-purple);
    font-size: 24px;
    font-weight: 800;
    margin-left: 2px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Görsel Mockup */
.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.hero-visual-card {
    width: 100%;
    max-width: 440px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-10deg) rotateX(10deg);
    transition: var(--transition-smooth);
}

.hero-visual-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 25px 50px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.card-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--card-border);
}

.dot-red, .dot-yellow, .dot-green {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.card-url {
    font-size: 11px;
    color: var(--text-muted);
    margin-left: 15px;
    font-family: monospace;
}

.card-body {
    padding: 24px;
}

.mockup-chart-row {
    display: grid;
    grid-template-cols: 1.2fr 0.8fr;
    gap: 15px;
    margin-bottom: 20px;
}

.mockup-chart-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 15px;
}

.mockup-line-lg {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 10px;
    width: 80%;
}
.mockup-line-md {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    width: 50%;
}

.bar-box {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 60px;
    padding-bottom: 5px;
}

.bar {
    width: 8px;
    border-radius: 4px;
    background-color: var(--accent-purple);
}
.bar-1 { height: 40%; background: var(--accent-teal); }
.bar-2 { height: 75%; }
.bar-3 { height: 50%; background: var(--accent-violet); }

.mockup-grid {
    display: grid;
    grid-template-cols: repeat(3, 1fr);
    gap: 15px;
}

.mockup-grid-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.item-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.item-line {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.scroll-down {
    position: relative;
    z-index: 10;
    display: block;
}

.scroll-mouse {
    width: 28px;
    height: 46px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    display: block;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-purple);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollScroll 1.5s infinite;
}

@keyframes scrollScroll {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

/* --- Hizmetlerimiz Bölümü (Slider Tasarımı) --- */
.services-section {
    background-color: var(--bg-secondary);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.services-section .section-container {
    overflow: visible; /* Allows slider shadow/hover elements to render without clipping */
}

.services-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 30px 40px 45px 40px; /* Padding for hover lift and shadows */
    -webkit-overflow-scrolling: touch;
    margin: 0 -40px; /* Pull it full-width matching viewport edges */
    scrollbar-width: none; /* Hide default scrollbar on Firefox */
}

/* Hide native scrollbars entirely */
.services-slider::-webkit-scrollbar {
    display: none;
}

/* Custom Progress Loading Bar (Thin centered line indicator) */
.services-progress-bar-wrap {
    width: 180px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    margin: 40px auto 0 auto;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.services-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%; /* Updated dynamically via JS */
    background: linear-gradient(90deg, var(--text-primary) 0%, var(--accent-violet) 100%);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.service-card {
    flex: 0 0 300px; /* Fixed width for horizontal scrolling cards */
    height: 300px; /* Perfect square/slightly vertical visual proportion */
    background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.04) 0%, rgba(18, 20, 24, 0.45) 65%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 255, 255, 0.03);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: 20px; /* Space between icon and title */
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text-primary);
}

.service-icon {
    color: currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Service Card Mockup (Slides in from top-right) */
.service-card-mockup {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transform: translate(30px, -30px) scale(0.85); /* Starting state: pushed out and small */
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    mix-blend-mode: screen; /* Makes black background transparent, showing only the glowing 3D asset */
}

.service-card:hover .service-card-mockup {
    opacity: 0.95;
    transform: translate(0, 0) scale(1); /* Hover state: slides into view */
}

.service-card:hover .service-card-mockup img {
    transform: scale(1.08); /* Subtle zoom effect inside the mockup on hover */
}

/* Service Card Content Layout (Text area) */
.service-card-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    z-index: 2; /* Renders above the mockup graphic if overlapping */
}

.service-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    max-height: 0; /* Starting state: collapsed height */
    opacity: 0; /* Starting state: invisible */
    overflow: hidden;
    transform: translateY(15px); /* Starting state: pushed down slightly */
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.3s ease, 
                transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                margin-top 0.4s ease;
}

.service-card:hover .service-card-desc {
    max-height: 80px; /* Expands to natural content height */
    opacity: 1; /* Fades in */
    transform: translateY(0); /* Slides up to normal position */
    margin-top: 12px; /* Adds gap below the title */
}

/* --- Portföy Bölümü --- */
.portfolio-section {
    background-color: var(--bg-primary);
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.portfolio-filters {
    display: flex;
    gap: 12px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-violet));
    color: var(--text-primary);
    border-color: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-cols: repeat(auto-fill, minmax(450px, 1fr));
    gap: 40px;
}

.portfolio-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portfolio-visual-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 920; /* Pixel-perfect match for the 1920x920 screenshot ratio (2.08) */
    background-color: #0c0d10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-mockup {
    width: 90%;
    height: auto;
    transition: var(--transition-smooth);
}

.project-mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fits edge-to-edge perfectly without any borders or vertical cropping */
    transition: var(--transition-smooth);
}

.portfolio-item:hover .project-mockup-img {
    transform: scale(1.05);
}

.portfolio-item:hover .project-mockup {
    transform: scale(1.05) translateY(-5px);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(9, 11, 16, 0.9) 60%, rgba(9, 11, 16, 0));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.project-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.overlay-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.portfolio-item:hover .overlay-btn {
    transform: rotate(-45deg);
}

.overlay-btn:hover {
    background-color: var(--accent-purple);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-cols: 1fr;
    }
    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* --- Proje Detay Modalı (Modal) --- */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.project-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 11, 16, 0.85);
    backdrop-filter: blur(10px);
}

.modal-wrapper {
    position: relative;
    width: 90%;
    max-width: 960px;
    max-height: 90vh; /* Keeps the modal within the viewport height boundaries */
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.modal-content {
    overflow-y: auto; /* Vertically scroll contents if they exceed viewport height */
    max-height: 90vh;
    width: 100%;
}

/* Custom premium scrollbar for modal content */
.modal-content::-webkit-scrollbar {
    width: 6px;
}
.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.project-modal.active .modal-wrapper {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100; /* Stays floating on top of content and images */
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.05) rotate(90deg);
    color: var(--text-primary);
}

.modal-body-grid {
    display: grid;
    grid-template-cols: 1fr 1fr;
    min-height: 480px;
}

.modal-visual {
    background-color: #111420;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--card-border);
}

.modal-visual svg {
    width: 100%;
    height: auto;
}

.modal-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--card-border);
}

.modal-details {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.modal-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-meta-box {
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 20px 0;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.meta-item {
    font-size: 14px;
    color: var(--text-muted);
}

.meta-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .modal-body-grid {
        grid-template-cols: 1fr;
    }
    .modal-visual {
        border-right: none;
        border-bottom: 1px solid var(--card-border);
        padding: 30px;
    }
    .modal-details {
        padding: 30px;
    }
}

/* --- İş Süreçlerimiz Bölümü --- */
.process-section {
    background-color: var(--bg-secondary);
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 80px auto 0;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 45px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-purple) 0%, var(--accent-violet) 50%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 1;
}

.process-step {
    position: relative;
    display: flex;
    gap: 40px;
    z-index: 2;
}

.step-number {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 2px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.process-step:hover .step-number {
    border-color: var(--accent-purple);
    color: #060709; /* Dark black/slate */
    background-color: var(--accent-purple);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    transition: none !important; /* Instant transition */
}

.step-content {
    padding-top: 15px;
}

.step-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 700px;
}

/* --- İletişim Bölümü --- */
.contact-section {
    background-color: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-cols: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.contact-info-panel .section-badge {
    margin-bottom: 15px;
}

.contact-info-panel .section-title span {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-panel-desc {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 45px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
}

.detail-texts span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-texts a,
.detail-texts p {
    font-size: 16px;
    font-weight: 600;
}

/* İletişim Formu Panel */
.contact-form-panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-cols: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 0 10px;
    background: none;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition-fast);
}

.form-group label {
    position: absolute;
    left: 0;
    top: 16px;
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    font-size: 12px;
    color: var(--accent-purple);
    font-weight: 600;
}

.input-glow {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-violet));
    transition: width 0.3s ease;
}

.form-group input:focus ~ .input-glow,
.form-group textarea:focus ~ .input-glow {
    width: 100%;
}

.form-status {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-status.success {
    color: var(--accent-teal);
    opacity: 1;
}

.form-status.error {
    color: var(--accent-orange);
    opacity: 1;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-cols: 1fr;
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-cols: 1fr;
    }
    .contact-form-panel {
        padding: 30px 20px;
    }
}

/* --- Footer --- */

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    color: var(--text-secondary);
}

.social-link:hover {
    background-color: var(--accent-purple);
    color: var(--text-primary);
    border-color: transparent;
    transform: translateY(-3px);
}

/* --- Kavisli Tam Ekran Alttan Açılan Menü --- */
.curved-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}

.curved-menu.active {
    pointer-events: auto;
}

.menu-wave-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.menu-wave-svg {
    width: 100%;
    height: 100%;
}

#wavePath {
    fill: #060709 !important; /* Force solid background color matching the theme */
    opacity: 1 !important;    /* Force 100% opacity to cover background cards completely */
    transition: d 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Background Blur on Menu Open */
body > *:not(.curved-menu):not(.cursor-dot):not(.cursor-circle) {
    transition: filter 0.5s ease, opacity 0.5s ease;
}

body.menu-open > *:not(.curved-menu):not(.cursor-dot):not(.cursor-circle) {
    filter: blur(40px); /* Extreme blur to match the dark background blur style */
    opacity: 0.08;      /* Low opacity to fade out the background elements completely */
}

.menu-logo-wrap {
    position: absolute;
    top: 9vh; /* Positioned centered in the area above the curve dip */
    left: 50%;
    transform: translateX(-50%) translateY(-15px); /* Slide down entry animation */
    z-index: 10;
    opacity: 0;
    pointer-events: auto; /* Allow clicking on the logo */
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-logo-wrap .logo-icon-img {
    height: 42px; /* Slightly larger than 36px header logo for brand emphasis */
}

.menu-logo-wrap .logo-text {
    font-size: 26px; /* Slightly larger than 22px header logo */
}

.curved-menu.active .menu-logo-wrap {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0.35s; /* Revealed staggeredly after background dalga opens */
}

/* Exit animation state */
.curved-menu:not(.active) .menu-logo-wrap {
    opacity: 0;
    transform: translateX(-50%) translateY(-15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu-close-btn {
    position: absolute;
    top: 25.5vh; /* Centered exactly in the dip of the SVG curve */
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
}

.curved-menu.active .menu-close-btn {
    opacity: 1;
    transition-delay: 0.3s;
}

.menu-close-btn:hover {
    background-color: #ffffff;
    color: #060709;
    border-color: transparent;
    transform: translateX(-50%) scale(1.1);
}

.menu-inner-content {
    position: absolute;
    top: 36vh; /* Pushed down a bit to separate from the curve dip */
    left: 50%;
    transform: translate(-50%, 50px); /* Keeps center horizontal alignment, transforms Y */
    z-index: 2;
    max-width: 800px;
    width: 90%;
    height: 58vh; /* Reduced height to bring links closer to the social icons */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.curved-menu.active .menu-inner-content {
    opacity: 1;
    transform: translate(-50%, 0);
    transition-delay: 0.3s;
}

.menu-links-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.menu-item-link-wrap {
    overflow: hidden;
}

.menu-item-link {
    font-family: var(--font-display);
    font-size: 46px; /* Slightly reduced font size to be more structured and prevent overlap */
    font-weight: 700;
    color: var(--text-secondary);
    display: inline-block;
    position: relative;
    text-align: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.menu-item-link:hover {
    color: var(--text-primary);
    transform: scale(1.08); /* Sophisticated centered pulse/scale hover effect */
}

/* Staggered Delay Animations (Bottom to Top Cascade) */

/* --- ENTRY ANIMATIONS (When Menu Opens) --- */

/* Social Icons Slide Up First */
.curved-menu.active .menu-social-icon {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Stagger entry for social icons (Left to Right) */
.curved-menu.active .menu-social-icon:nth-child(1) { transition-delay: 0.35s; }
.curved-menu.active .menu-social-icon:nth-child(2) { transition-delay: 0.38s; }
.curved-menu.active .menu-social-icon:nth-child(3) { transition-delay: 0.41s; }
.curved-menu.active .menu-social-icon:nth-child(4) { transition-delay: 0.44s; }
.curved-menu.active .menu-social-icon:nth-child(5) { transition-delay: 0.47s; }

/* Menu Links Slide Up Second (From Bottom Link to Top Link) */
.curved-menu.active .menu-item-link-wrap .menu-item-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Stagger entry for links (Bottom to Top) */
.curved-menu.active .menu-links-list .menu-item-link-wrap:nth-child(5) .menu-item-link { transition-delay: 0.5s; }
.curved-menu.active .menu-links-list .menu-item-link-wrap:nth-child(4) .menu-item-link { transition-delay: 0.55s; }
.curved-menu.active .menu-links-list .menu-item-link-wrap:nth-child(3) .menu-item-link { transition-delay: 0.6s; }
.curved-menu.active .menu-links-list .menu-item-link-wrap:nth-child(2) .menu-item-link { transition-delay: 0.65s; }
.curved-menu.active .menu-links-list .menu-item-link-wrap:nth-child(1) .menu-item-link { transition-delay: 0.7s; }

/* --- EXIT ANIMATIONS (When Menu Closes) --- */

/* Base transition states when not active */
.curved-menu:not(.active) .menu-item-link {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.curved-menu:not(.active) .menu-social-icon {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Menu Links (Top to Bottom Stagger on Exit) */
.curved-menu:not(.active) .menu-links-list .menu-item-link-wrap:nth-child(1) { transition-delay: 0s; }
.curved-menu:not(.active) .menu-links-list .menu-item-link-wrap:nth-child(2) { transition-delay: 0.05s; }
.curved-menu:not(.active) .menu-links-list .menu-item-link-wrap:nth-child(3) { transition-delay: 0.1s; }
.curved-menu:not(.active) .menu-links-list .menu-item-link-wrap:nth-child(4) { transition-delay: 0.15s; }
.curved-menu:not(.active) .menu-links-list .menu-item-link-wrap:nth-child(5) { transition-delay: 0.2s; }

/* Social Icons (Exit Stagger) */
.curved-menu:not(.active) .menu-social-icon:nth-child(1) { transition-delay: 0.25s; }
.curved-menu:not(.active) .menu-social-icon:nth-child(2) { transition-delay: 0.28s; }
.curved-menu:not(.active) .menu-social-icon:nth-child(3) { transition-delay: 0.31s; }
.curved-menu:not(.active) .menu-social-icon:nth-child(4) { transition-delay: 0.34s; }
.curved-menu:not(.active) .menu-social-icon:nth-child(5) { transition-delay: 0.37s; }

.menu-footer-centered {
    width: 100%;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

.menu-socials-centered {
    display: flex;
    gap: 30px; /* Space out the icons nicely */
}

.menu-social-icon {
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(30px);
}

.menu-social-icon:hover {
    color: var(--text-primary);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .menu-item-link {
        font-size: 38px;
    }
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-cols: 1fr;
    }
    
    /* Header overrides */
    .nav-links {
        display: none !important; /* Hide desktop nav links */
    }
    
    .header-container {
        padding: 15px 20px; /* Reduce padding on mobile */
    }
    
    .header-container .logo {
        position: static !important; /* Remove absolute centering */
        transform: none !important;
    }
    
    .sm-hidden {
        display: none !important; /* Hide elements with .sm-hidden class on mobile */
    }

    /* Hero section overrides */
    .hero-section {
        min-height: 100vh;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 120px 0 80px 0;
    }
    
    .hero-container {
        flex-direction: column-reverse; /* Put headline text above the stats numbers */
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 30px;
        padding: 0 20px;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.25;
        letter-spacing: -1px;
        text-align: center;
    }
    
    .hero-title span {
        white-space: normal; /* Wrap text on mobile */
    }
    
    .hero-subtitle {
        font-size: 15px;
        text-align: center;
        margin-bottom: 0;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-right: 0;
        padding-top: 25px;
        margin-top: 10px;
        width: 100%;
        min-width: auto;
    }
    
    .hero-stats .badge {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        margin-bottom: 5px;
        align-self: center;
    }
    
    .stat-item {
        align-items: center;
        text-align: center;
        min-width: 90px;
    }
    
    .hero-actions {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 40px;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 20px;
        justify-content: center;
        z-index: 5;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    /* --- Mobile 3D Coverflow Services Slider --- */
    .services-slider {
        position: relative;
        height: 380px !important;
        width: 100%;
        margin: 40px 0 0 0 !important;
        padding: 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: visible !important; /* Allow side cards to render outside boundaries */
        perspective: 1000px;
    }
    
    .service-card {
        position: absolute !important;
        left: 50% !important;
        margin-left: -135px !important; /* Centering offset for 270px card width */
        flex: 0 0 270px !important;
        width: 270px !important;
        height: 320px !important;
        padding: 30px !important;
        justify-content: center !important;
        align-items: center !important;
        background: radial-gradient(circle at 50% 50%, rgba(25, 27, 35, 0.95) 0%, rgba(10, 11, 14, 0.98) 100%) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.06) !important;
        border-radius: 28px !important;
        box-sizing: border-box !important;
        transform-style: preserve-3d;
        backface-visibility: hidden;
        transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                    opacity 0.5s ease, 
                    border-color 0.5s ease,
                    box-shadow 0.5s ease !important;
    }
    
    /* Hide desktop-only layout parts */
    .service-card-mockup,
    .service-card-desc,
    .service-card-title {
        display: none !important;
    }
    
    /* Track Header and Footer layout */
    .card-track-header {
        display: flex !important;
        justify-content: space-between;
        font-family: var(--font-display);
        font-size: 10px;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.35);
        letter-spacing: 0.8px;
        position: absolute;
        top: 25px;
        left: 0;
        width: 100%;
        padding: 0 25px;
        box-sizing: border-box;
    }
    
    .card-track-footer {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: absolute;
        bottom: 25px;
        left: 0;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .track-brand {
        font-size: 9px;
        font-weight: 800;
        color: var(--accent-purple);
        letter-spacing: 1.5px;
        margin-bottom: 6px;
        text-transform: uppercase;
    }
    
    .track-title-3d {
        font-family: var(--font-display);
        font-size: 19px;
        font-weight: 800;
        color: var(--text-primary);
        margin: 0;
        text-transform: uppercase;
        letter-spacing: -0.5px;
    }
    
    /* Center and enlarge the icon wrapper on mobile */
    .service-card-content {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: auto !important;
        margin-bottom: 10px;
    }
    
    .service-icon-wrapper {
        width: 76px !important;
        height: 76px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.01) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 0 !important;
        color: rgba(255, 255, 255, 0.4) !important;
        transition: all 0.5s ease !important;
    }
    
    .service-icon {
        width: 24px !important;
        height: 24px !important;
    }
    
    /* --- 3D Carousel Positioning States --- */
    .service-card.active {
        transform: scale(1.05) translateZ(0) !important;
        opacity: 1 !important;
        z-index: 10 !important;
        border-color: rgba(97, 85, 245, 0.45) !important; /* Active purple glowing border */
        box-shadow: 0 15px 35px rgba(97, 85, 245, 0.15), 
                    0 0 25px rgba(97, 85, 245, 0.05),
                    inset 0 0 15px rgba(255, 255, 255, 0.02) !important;
    }
    
    .service-card.active .service-icon-wrapper {
        background: rgba(97, 85, 245, 0.06) !important;
        border-color: rgba(97, 85, 245, 0.4) !important;
        box-shadow: 0 0 18px rgba(97, 85, 245, 0.3) !important;
        color: var(--text-primary) !important;
    }
    
    .service-card.prev {
        transform: scale(0.82) translateX(-110px) translateZ(-50px) rotateY(15deg) !important;
        opacity: 0.35 !important;
        z-index: 5 !important;
        pointer-events: none;
    }
    
    .service-card.next {
        transform: scale(0.82) translateX(110px) translateZ(-50px) rotateY(-15deg) !important;
        opacity: 0.35 !important;
        z-index: 5 !important;
        pointer-events: none;
    }
    
    .service-card.far-prev {
        transform: scale(0.7) translateX(-200px) translateZ(-100px) rotateY(30deg) !important;
        opacity: 0 !important;
        z-index: 1 !important;
        pointer-events: none;
    }
    
    .service-card.far-next {
        transform: scale(0.7) translateX(200px) translateZ(-100px) rotateY(-30deg) !important;
        opacity: 0 !important;
        z-index: 1 !important;
        pointer-events: none;
    }
    
    /* --- Carousel Controls --- */
    .services-carousel-controls {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 25px;
        margin-top: 35px;
    }
    
    .carousel-control-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-secondary);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .carousel-control-btn:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: var(--accent-purple);
        color: var(--text-primary);
    }
    
    .carousel-dots {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.15);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .carousel-dot.active {
        width: 22px; /* Active dot is an elongated pill */
        border-radius: 4px;
        background: var(--accent-purple);
        box-shadow: 0 0 10px rgba(97, 85, 245, 0.5);
    }
    
    .services-progress-bar-wrap {
        display: none !important; /* Hide old progress bar on mobile */
    }
}

@media (max-width: 480px) {
    .form-row {
        grid-template-cols: 1fr;
    }
    .contact-form-panel {
        padding: 30px 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    /* Further scale down cards on very small phones to prevent overflow */
    .services-slider {
        height: 340px !important;
    }
    .service-card {
        flex: 0 0 240px !important;
        width: 240px !important;
        height: 280px !important;
        margin-left: -120px !important;
    }
    .service-card.prev {
        transform: scale(0.8) translateX(-85px) translateZ(-50px) rotateY(15deg) !important;
    }
    .service-card.next {
        transform: scale(0.8) translateX(85px) translateZ(-50px) rotateY(-15deg) !important;
    }
}

/* Card Track Header & Footer (Default hidden on desktop) */
.card-track-header,
.card-track-footer,
.services-carousel-controls {
    display: none;
}

/* ==========================================================================
   YASAL POLİTİKA SAYFALARI (cerez, kvkk, gizlilik)
   ========================================================================== */
.policy-wrapper {
    position: relative;
    padding: 160px 0 100px 0;
    min-height: 80vh;
    background-image: linear-gradient(to bottom, rgba(6, 7, 9, 0.72), rgba(6, 7, 9, 0.95)), 
                      url('../images/yasalbilgilendirme.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.policy-header {
    text-align: center;
    background: rgba(13, 15, 20, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px 50px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    box-sizing: border-box;
}

.policy-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(97, 85, 245, 0.08);
    border: 1px solid rgba(97, 85, 245, 0.15);
    color: var(--accent-purple);
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.policy-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -1.5px;
}

.policy-date {
    font-size: 13px;
    color: var(--text-muted);
}

.policy-content {
    background: rgba(13, 15, 20, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 50px;
    line-height: 1.8;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.policy-content h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.policy-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.policy-content li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    list-style-type: disc;
}

.policy-content li strong {
    color: var(--text-primary);
}

.policy-content a {
    color: var(--accent-purple);
    font-weight: 600;
    transition: var(--transition-fast);
}

.policy-content a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .policy-wrapper {
        padding: 120px 0 60px 0;
    }
    
    .policy-container {
        padding: 0 20px;
    }
    
    .policy-hero {
        padding: 50px 15px;
        margin-bottom: 30px;
        border-radius: 24px;
    }
    
    .policy-header {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .policy-title {
        font-size: 30px;
    }
    
    .policy-content {
        padding: 30px 20px;
    }
    
    .policy-content h2 {
        font-size: 18px;
        margin-top: 30px;
    }
}

/* ==========================================================================
   ÇEREZ ONAM BANNER'I & TERCİH MODALI (Cookie Consent Banner & Modal)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 420px;
    max-width: calc(100% - 60px);
    background: rgba(13, 15, 20, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 25px;
    z-index: 99999;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 
                0 0 30px rgba(97, 85, 245, 0.05);
    display: none; /* Controlled by JS */
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.6s ease;
}

.cookie-banner.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.cookie-banner-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cookie-banner-text a {
    color: var(--accent-purple);
    font-weight: 600;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-banner-actions button {
    flex: 1 1 auto;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-violet));
    color: var(--text-primary);
    border: none;
    box-shadow: 0 5px 15px rgba(97, 85, 245, 0.2);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(97, 85, 245, 0.3);
}

.cookie-btn-settings {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text-muted);
    border: none;
    padding: 10px 12px !important;
}

.cookie-btn-reject:hover {
    color: var(--text-primary);
}

/* Çerez Ayarları Modalı */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 7, 9, 0.8);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: none; /* Controlled by JS */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cookie-modal-overlay.show {
    display: flex;
    opacity: 1;
}

.cookie-modal {
    width: 500px;
    max-width: calc(100% - 40px);
    background: rgba(20, 22, 28, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8),
                0 0 40px rgba(97, 85, 245, 0.08);
    position: relative;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cookie-modal-overlay.show .cookie-modal {
    transform: translateY(0);
}

.cookie-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.cookie-modal-close:hover {
    color: var(--text-primary);
}

.cookie-modal-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.cookie-modal-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.cookie-options-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.cookie-option-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.cookie-option-text {
    flex: 1;
}

.cookie-option-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-badge-required {
    font-size: 9px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 2px 6px;
    border-radius: 4px;
}

.cookie-option-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Switch Toggle Styling */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: .3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-secondary);
    transition: .3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: rgba(97, 85, 245, 0.2);
    border-color: var(--accent-purple);
}

input:checked + .cookie-slider:before {
    background-color: var(--accent-purple);
    transform: translateX(20px);
}

input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.cookie-modal-actions button {
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
        padding: 20px;
    }
    
    .cookie-modal {
        padding: 25px 20px;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
    
    .cookie-modal-actions button {
        width: 100%;
        text-align: center;
    }
}

/* --- Curved Menu Background Video --- */
.menu-video-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    object-fit: cover;
    z-index: 0;
    opacity: 0; /* Starts invisible, fades in when active */
    filter: blur(8px);
    transform: scale(1.05); /* Prevent blur boundary leak */
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.curved-menu.active .menu-video-bg {
    opacity: 0.35; /* Subtle code background effect */
}

/* --- Language Toggle Button --- */
.lang-toggle-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%; /* Perfect circle icon button */
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 38px;
    height: 38px;
    padding: 0;
    box-sizing: border-box;
}

.lang-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(97, 85, 245, 0.2);
    transform: translateY(-1px);
}

.globe-icon {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.lang-toggle-btn:hover .globe-icon {
    color: var(--accent-purple);
}

/* --- Language Transition Fullscreen Overlay --- */
.lang-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #060709;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.lang-transition-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lang-transition-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: scale(0.6);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lang-transition-overlay.active .lang-transition-content {
    transform: scale(1);
}

.lang-transition-content img {
    max-width: 260px; /* Big en.png as requested */
    width: 80%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(97, 85, 245, 0.35));
}

.lang-transition-text {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 15px;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
}

/* --- Interactive Cost Calculator Section --- */
.calculator-section {
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.calculator-section .section-container {
    max-width: 1600px;
    width: 95%;
    padding-left: 20px;
    padding-right: 20px;
}

.calculator-grid {
    display: grid;
    grid-template-cols: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

/* Slayt Sihirbaz Konteyneri */
.calc-wizard-container {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 35px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.calc-slides-wrapper {
    display: flex;
    width: 400%; /* 4 steps */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.calc-slide {
    width: 25%; /* 100% of container */
    flex-shrink: 0;
    opacity: 0.15; /* Dim inactive slides */
    transition: opacity 0.5s ease;
    padding: 0 10px;
    box-sizing: border-box;
}

.calc-slide.active {
    opacity: 1; /* Highlight active slide */
}

/* Stepper Progress Bar Göstergesi */
.calc-stepper-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 45px;
    width: 100%;
}

.calc-progress-line {
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
    border-radius: 2px;
}

.calc-progress-line-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-violet));
    box-shadow: 0 0 10px rgba(97, 85, 245, 0.5);
    width: 0%;
    transition: width 0.4s ease;
}

.calc-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    cursor: pointer;
    flex: 1;
    text-align: center;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-text {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.calc-progress-step.active .step-dot {
    background: #6155f5;
    border-color: #6155f5;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(97, 85, 245, 0.5);
}

.calc-progress-step.active .step-text {
    color: #ffffff;
}

.calc-progress-step.completed .step-dot {
    background: rgba(97, 85, 245, 0.15);
    border-color: #6155f5;
    color: #6155f5;
}

.calc-progress-step.completed .step-text {
    color: var(--text-secondary);
}

/* Slayt Alt Yönlendirme Alanı */
.calc-slide-nav {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

.calc-slide-nav button {
    height: 44px;
    padding: 0 25px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.calc-back-btn {
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.calc-back-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.calc-step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.calc-step-num {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-violet));
    color: #060709;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.calc-step-header h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Type select cards */
.calc-type-grid {
    display: grid;
    grid-template-cols: repeat(4, 1fr);
    gap: 15px;
}

.calc-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.calc-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.calc-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.calc-type-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.calc-type-card.active {
    background: rgba(97, 85, 245, 0.08);
    border-color: #6155f5;
    box-shadow: 0 0 20px rgba(97, 85, 245, 0.15);
}

.calc-type-card.active .calc-card-icon {
    background: #6155f5;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(97, 85, 245, 0.5);
}

.calc-card-label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.calc-type-card.active .calc-card-label {
    color: #ffffff;
}

/* Slider Style */
.calc-slider-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.calc-slider-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

.calc-slider-current {
    font-size: 15px;
    color: var(--text-primary);
}

.calc-slider-current strong {
    color: #6155f5;
    font-size: 20px;
}

.calc-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.calc-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #6155f5;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(97, 85, 245, 0.5);
    transition: transform 0.1s ease;
}

.calc-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #6155f5;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(97, 85, 245, 0.5);
    transition: transform 0.1s ease;
}

/* Checkbox Style */
.calc-features-grid {
    display: grid;
    grid-template-cols: repeat(2, 1fr);
    gap: 15px;
}

.calc-feature-checkbox {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.calc-feature-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.calc-checkbox-box {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.calc-checkbox-box::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

.calc-feature-checkbox input[type="checkbox"]:checked ~ .calc-checkbox-box {
    background: #6155f5;
    border-color: #6155f5;
    box-shadow: 0 0 10px rgba(97, 85, 245, 0.4);
}

.calc-feature-checkbox input[type="checkbox"]:checked ~ .calc-checkbox-box::after {
    transform: rotate(45deg) scale(1);
}

.calc-feature-checkbox:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.calc-feature-checkbox.active {
    background: rgba(97, 85, 245, 0.05);
    border-color: rgba(97, 85, 245, 0.5);
}

.calc-feature-label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.calc-feature-checkbox.active .calc-feature-label {
    color: #ffffff;
}

/* Options Step Row */
.calc-options-row {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.calc-option-group h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-segmented-control {
    display: grid;
    grid-template-cols: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
}

.calc-segmented-item {
    display: block;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

.calc-segmented-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.calc-segmented-item span {
    display: block;
    padding: 10px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.calc-segmented-item:hover span {
    color: #ffffff;
}

.calc-segmented-item.active span {
    background: #6155f5;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(97, 85, 245, 0.3);
}

/* Custom Toggle Switch for Delivery */
.calc-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    position: relative;
}

.calc-toggle-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.calc-toggle-slider {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    left: 2px;
    top: 2px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.calc-toggle-wrapper input[type="checkbox"]:checked ~ .calc-toggle-slider {
    background: #6155f5;
}

.calc-toggle-wrapper input[type="checkbox"]:checked ~ .calc-toggle-slider::before {
    transform: translateX(20px);
}

.calc-toggle-label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Right Column Summary */
.calc-summary-wrapper {
    position: sticky;
    top: 100px;
}

.calc-summary-card {
    background: rgba(97, 85, 245, 0.03);
    border: 1px solid rgba(97, 85, 245, 0.25);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(97, 85, 245, 0.05);
    backdrop-filter: blur(10px);
}

.calc-summary-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
}

.calc-summary-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 3px;
    background: #6155f5;
    border-radius: 2px;
}

.calc-summary-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.calc-detail-line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 10px;
}

.detail-name {
    color: var(--text-muted);
}

.detail-val {
    color: var(--text-primary);
    font-weight: 700;
    text-align: right;
    max-width: 180px;
}

.calc-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 25px 0;
}

.calc-price-area {
    text-align: center;
    margin-bottom: 30px;
}

.price-title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.price-range {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(97, 85, 245, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-range .currency {
    color: #6155f5;
    font-size: 20px;
}

.price-notice {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 15px;
    line-height: 1.4;
}

.calc-cta {
    display: block;
    text-align: center;
    width: 100%;
    padding: 16px;
    font-size: 15px;
    margin-top: 20px;
}

/* Responsive Rules for Calculator */
@media (max-width: 1024px) {
    .calc-type-grid {
        grid-template-cols: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .calculator-grid {
        grid-template-cols: 1fr;
        gap: 30px;
    }
    
    .calc-summary-wrapper {
        position: static;
    }
}

@media (max-width: 480px) {
    .calc-type-grid {
        grid-template-cols: 1fr;
    }
    
    .calc-features-grid {
        grid-template-cols: 1fr;
    }
    
    .calc-segmented-control {
        grid-template-cols: 1fr;
        gap: 5px;
    }
}




