﻿/* ============================================================
   YKS REHBER — Premium SaaS Design System
   ============================================================ */

/* ========================
   CSS VARIABLES
======================== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --thematic-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;

    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;

    --shadow-xs: 0 1px 3px rgba(0, 0, 0, .06);
    --shadow-soft: 0 10px 15px -3px rgba(0, 0, 0, .06), 0 4px 6px -2px rgba(0, 0, 0, .03);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, .12);
    --shadow-glow: 0 0 0 4px rgba(37, 99, 235, .15);

    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
}

/* ========================
   RESET & BASE
======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
                #f8fafc;
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.65;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Zero out Bootstrap gutter for the main wrapper */
.container-fluid.p-0.m-0,
.container-fluid.px-0 {
    padding: 0 !important;
    margin: 0 !important;
}

/* Tercih layout wrapper: ensures sidebar sticky works */
.layout-tercih-row {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    min-height: calc(100vh - 72px);
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

.sidebar-tercih {
    position: fixed;
    top: 72px;
    /* Navbar height + buffer */
    left: 0;
    height: calc(100vh - 72px);
    width: 260px;
    background: #fff;
    border-right: 1px solid #e2e8f0;
    overflow-y: auto;
    flex-shrink: 0;
    z-index: 10;
}

/* Hide sidebar on mobile */
@media (max-width: 991.98px) {
    .sidebar-tercih {
        display: none !important;
    }
}

.layout-tercih-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    margin: 0 !important;
    margin-left: 260px !important;
    /* Fixed sidebar width */
    background: #fff;
    min-height: calc(100vh - 72px);
    width: 0;
    /* Let flex-grow handle it */
    min-width: 0;
    /* Webkit fix for flex overflow */
}

/* Compensate for no sidebar on mobile */
@media (max-width: 991.98px) {
    .layout-tercih-main {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

/* Force footer to be edge-to-edge within layout-tercih-main */
.layout-tercih-main footer {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

/* Ensure footer interior elements have consistent padding but no layout constraints */
.layout-tercih-main footer .px-4 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    max-width: none !important;
}

/* Ensure footer is flush at bottom */
footer.mt-auto {
    margin-bottom: 0 !important;
    padding-bottom: 2rem !important;
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1050;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Body lock when drawer is open */
body.sidebar-open {
    overflow: hidden !important;
}

/* Sınava Hazırlık Layout Wrapper */
.layout-hazirlik-row {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    min-height: calc(100vh - 72px);
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

.sidebar-hazirlik-fixed {
    position: fixed;
    top: 72px;
    left: 0;
    height: calc(100vh - 72px);
    width: 260px;
    background: #fff;
    border-right: 1px solid #e2e8f0;
    overflow-y: auto;
    flex-shrink: 0;
    z-index: 10;
}

.layout-hazirlik-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    margin: 0 !important;
    margin-left: 260px !important;
    background: #fff;
    min-height: calc(100vh - 72px);
    width: 0;
    min-width: 0;
}

@media (max-width: 991.98px) {
    .sidebar-hazirlik-fixed {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 280px;
        z-index: 2000;
        /* Above everything */
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: block !important;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.15);
        border-right: none;
        background: #fff;
        overflow-y: auto;
    }

    .sidebar-hazirlik-fixed.active {
        transform: translateX(0);
    }

    .layout-hazirlik-main {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

/* Sidebar Hazirlik Styles (Moved from partial to prevent FOUC) */
.sidebar-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 0.75rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s;
    gap: 0.65rem;
    border: 1px solid transparent;
}

.sidebar-icon-wrapper {
    width: 1.75rem;
    /* ~28px */
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-item .sidebar-icon-wrapper img {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
    transition: all 0.2s;
    filter: none;
    opacity: 1;
}

.sidebar-item:hover {
    background: #f8fafc;
    color: #1e293b;
}

.sidebar-item.active {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
}

.sidebar-item.robot-accent {
    background: #f5f3ff;
    color: #6366f1;
    border: 1px dashed #ddd6fe;
    margin-top: 0.5rem;
}

.sidebar-item.robot-accent.active {
    background: #ede9fe;
    border-style: solid;
    border-color: #c4b5fd;
    color: #4338ca;
}

.fw-extrabold {
    font-weight: 800;
}


h1,
h2,
h3,
h4 {
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* ========================
   NAVBAR
======================== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.7rem 0;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.navbar-logo {
    height: 52px;
    width: auto;
    min-width: 180px;
    max-width: 250px;
    object-fit: contain;
    /* Arka plan ve kenarlıklar tamamen kaldırıldı */
    border-radius: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-logo:hover {
    transform: scale(1.03);
}

@media (max-width: 991.98px) {
    .navbar-logo {
        height: 36px;
        min-width: auto;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.06);
}

/* Sidebar nav-links */
.sidebar .nav-link {
    color: #64748b;
    font-weight: 500;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    border-radius: 10px;
}

.sidebar .nav-link i {
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

.sidebar .nav-link.active {
    background: #f0f7ff !important;
    color: #2563eb !important;
}

.sidebar .nav-link:hover:not(.active) {
    background: #f8fafc;
    color: #0f172a;
}

/* ========================
   BUTTONS
======================== */
.btn-premium {
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
    letter-spacing: 0.01em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gradient {
    background: var(--primary-gradient);
    color: var(--white) !important;
}

.btn-gradient:hover {
    box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.45);
    color: var(--white) !important;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(37, 99, 235, 0.06);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.8);
    border: 1.5px solid var(--border);
    color: var(--text-main) !important;
    backdrop-filter: blur(8px);
}

.btn-glass:hover {
    background: white;
    box-shadow: var(--shadow-soft);
    color: var(--text-main) !important;
}

/* ========================
   GENERIC CARDS
======================== */
.card-premium {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.card-premium:hover {
    box-shadow: var(--shadow-premium);
}

.hero-cta {
    padding: 0.9rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    background: var(--thematic-gradient);
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(79, 70, 233, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(79, 70, 233, 0.35);
    color: #fff !important;
    filter: brightness(1.1);
}

/* ========================
   UTILITIES
======================== */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(37, 99, 235, 0.10);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.avatar-wrapper-premium {
    width: 130px;
    height: 130px;
    margin: 0 auto 1.5rem;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar-wrapper-premium:hover {
    transform: scale(1.05);
}

.avatar-main {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.avatar-camera-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: #2563eb;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    transition: all 0.2s;
}

.avatar-wrapper-premium:hover .avatar-camera-btn {
    background: #1d4ed8;
    transform: scale(1.1);
}

.avatar-edit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.avatar-wrapper-premium:hover .avatar-edit-overlay {
    opacity: 1;
}

.micro-stat-badge {
    background: #f8fafc;
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border: 1px solid #f1f5f9;
}

.micro-stat-badge i {
    width: 16px;
    height: 16px;
    color: #6366f1;
    margin-bottom: 2px;
}

.micro-stat-label {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.micro-stat-value {
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
}

/* ========================
   SECTION COMMON
======================== */
.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3.5rem;
}

.section-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.09);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ========================
   1. HERO SECTION
======================== */
.hero-section {
    padding: 7rem 0 5rem;
    background: radial-gradient(ellipse 70% 60% at 80% 10%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
}

.hero-image-wrapper {
    position: relative;
    z-index: 10;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(40px);
}

.hero-title {
    font-size: 3.8rem;
    /* Further enlarged for balance */
    line-height: 1.1;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #475569;
    letter-spacing: -0.2px;
}

.hero-image-main {
    max-width: 90%;
    /* Scaled down slightly */
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-image-main:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
}

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

@keyframes pulse-dot {

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

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.hero-sub {
    font-size: 1rem;
    color: #475569;
    max-width: 440px;
    line-height: 1.65;
    font-weight: 500;
}

.hero-btn {
    font-size: 1rem;
    padding: 0.9rem 2rem;
}

.trust-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Hero Demo Kart */
.demo-card-wrapper {
    position: relative;
    padding: 2rem;
}

.demo-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border);
    overflow: hidden;
    animation: floatCard 4s ease-in-out infinite alternate;
}

@keyframes floatCard {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-12px);
    }
}

.demo-card-header {
    background: #f8fafc;
    padding: 0.85rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-bottom: 1px solid var(--border);
}

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

.demo-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-dots span:nth-child(1) {
    background: #ef4444;
}

.demo-dots span:nth-child(2) {
    background: #f59e0b;
}

.demo-dots span:nth-child(3) {
    background: #22c55e;
}

.demo-title-bar {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.demo-card-body {
    padding: 1.5rem;
}

.demo-stat-box {
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 1rem;
    border: 1px solid var(--border);
}

.demo-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.demo-stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.demo-task-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.demo-task {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.83rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: var(--text-muted);
}

.demo-task.done {
    background: #f0fdf4;
    color: #15803d;
}

.demo-task.active {
    background: #eff6ff;
    color: var(--primary);
    font-weight: 600;
}

/* Yüzen rozetler */
.float-badge {
    position: absolute;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
    box-shadow: var(--shadow-soft);
    white-space: nowrap;
    z-index: 10;
}

.float-top-right {
    top: 0;
    right: -10px;
    animation: floatBadge1 3s ease-in-out infinite alternate;
}

.float-bottom-left {
    bottom: 0;
    left: -10px;
    animation: floatBadge2 3.5s ease-in-out infinite alternate;
}

@keyframes floatBadge1 {
    from {
        transform: translateY(0)
    }

    to {
        transform: translateY(-8px)
    }
}

@keyframes floatBadge2 {
    from {
        transform: translateY(0)
    }

    to {
        transform: translateY(8px)
    }
}

/* ========================
   2. SOCIAL PROOF
======================== */
.social-proof-section {
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4rem 0;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* ========================
   2. HERO SLIDER SECTION
======================================== */
.hero-slider-section {
    background: transparent;
    position: relative;
    padding-bottom: 60px;
    padding-top: 40px;
    overflow: hidden;
}

.hero-slider-section::before {
    content: '';
    position: absolute;
    top: -20%; left: -10%;
    width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

.hero-slider-section::after {
    content: '';
    position: absolute;
    bottom: -20%; right: -10%;
    width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

.hero-slider-section .row {
    min-height: 55vh;
    align-items: center;
}

.slider-premium-container {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 40px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 2rem 0;
}

.carousel-item {
    padding: 0;
}

/* Indicators */
.carousel-indicators {
    bottom: -10px;
    gap: 12px;
    z-index: 15;
}

.carousel-indicators [data-bs-target] {
    width: 45px;
    height: 6px;
    border-radius: 6px;
    background-color: #cbd5e1;
    opacity: 0.4;
    margin: 0;
    border: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-indicators .active {
    opacity: 1;
    width: 90px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* Kontrol Butonları Modernizasyonu (< >) */
.carousel-control-prev,
.carousel-control-next {
    width: 64px;
    height: 64px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.02) inset;
    margin: 0 25px;
}

.slider-premium-container:hover .carousel-control-prev,
.slider-premium-container:hover .carousel-control-next {
    opacity: 1;
}

.slider-premium-container:hover .carousel-control-prev { transform: translateY(-50%) translateX(10px); }
.slider-premium-container:hover .carousel-control-next { transform: translateY(-50%) translateX(-10px); }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 1.6rem;
    font-weight: 800;
}

.carousel-control-prev-icon::before { content: "\F284"; font-family: "bootstrap-icons"; }
.carousel-control-next-icon::before { content: "\F285"; font-family: "bootstrap-icons"; }

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #ffffff !important;
    color: #6366f1;
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.25);
    transform: translateY(-50%) scale(1.08) !important;
}

/* Animations & Typography within Slider */
.carousel-item .hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -1.5px;
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item .text-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 5px;
}

.carousel-item .hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.carousel-item .hero-cta {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white !important;
    border-radius: 50px;
    font-weight: 600;
    padding: 1.1rem 2.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.25);
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    transition-delay: 0.2s;
}

.carousel-item .hero-cta:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
}

.carousel-item .hero-image-wrapper {
    position: relative;
    padding: 15px;
    opacity: 0;
    transform: translateX(40px) scale(0.95);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.carousel-item .hero-image-main {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.12), 0 0 0 1px rgba(255,255,255,0.6) inset;
    transition: all 0.8s ease;
}

.slider-premium-container:hover .hero-image-main {
    transform: scale(1.03) translateY(-10px);
    box-shadow: 0 50px 90px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.8) inset;
}

/* Active State Triggers */
.carousel-item.active .hero-title { opacity: 1; transform: translateY(0); }
.carousel-item.active .hero-subtitle { opacity: 1; transform: translateY(0); }
.carousel-item.active .hero-cta { opacity: 1; transform: translateY(0); }
.carousel-item.active .hero-image-wrapper { opacity: 1; transform: translateX(0) scale(1); }

/* Responsive Düzenlemeler */
@media (max-width: 991.98px) {
    .hero-slider-section { padding-top: 20px; padding-bottom: 40px; }
    .slider-premium-container { border-radius: 24px; padding: 1rem 0; }
    .carousel-item { padding: 2rem 0.5rem; } /* Kenar padding azaltıldı */
    .carousel-item .hero-title { font-size: 2.2rem; text-align: center; line-height: 1.2; }
    .carousel-item .hero-subtitle { text-align: center; font-size: 1rem; padding: 0 1rem; }
    .d-flex.gap-4 { justify-content: center; }
    .carousel-item .hero-image-wrapper { 
        transform: translateY(30px) scale(0.98); 
        padding: 5px; /* Resim etrafındaki boşluk minimize edildi */
        width: 100%;
        max-width: 100%;
    }
    .carousel-item.active .hero-image-wrapper { transform: translateY(0) scale(1); }
    .carousel-item .hero-image-main { 
        margin-top: 1.5rem; 
        border-radius: 16px; 
        width: 100%;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }
    .carousel-control-prev, .carousel-control-next { display: none; }
    .carousel-indicators { bottom: -20px; }
}

.features-section {
    padding: 6rem 0;
}

.feature-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1.5px solid var(--border);
    height: 100%;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    transition: border-color 0.4s ease;
    pointer-events: none;
}

.feature-card-blue:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
}

.feature-card-blue:hover::after {
    border-color: rgba(37, 99, 235, 0.35);
}

.feature-card-purple:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
}

.feature-card-purple:hover::after {
    border-color: rgba(124, 58, 237, 0.35);
}

.feature-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.feature-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.feature-card-sub {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.feature-list li i {
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-cta-btn {
    display: inline-flex;
    align-items: center;
    background: var(--primary-gradient);
    color: white !important;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 0.95rem;
}

.feature-cta-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.4);
}

/* ========================
   4. NASIL ÇALIŞIR?
======================== */
.how-section {
    padding: 6rem 0;
    background: white;
}

.how-card {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1.5px solid var(--border);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.how-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.how-card-active {
    background: linear-gradient(145deg, #eff6ff, #f5f3ff);
    border-color: rgba(37, 99, 235, 0.25);
}

.how-step {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.how-icon {
    width: 72px;
    height: 72px;
    background: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-soft);
}

.how-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.how-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========================
   5. DEMO SECTION
======================== */
.demo-section {
    padding: 6rem 0;
}

.demo-preview-frame {
    background: white;
    border-radius: var(--radius-xl);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

.demo-preview-topbar {
    background: #f1f5f9;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.demo-url-bar {
    flex: 1;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.demo-preview-body {
    padding: 1.5rem;
}

.preview-sidebar {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    height: 100%;
}

.preview-sidebar-item {
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.preview-sidebar-item.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-weight: 600;
}

.preview-mini-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    border: 1px solid var(--border);
    text-align: center;
}

.preview-mini-card p {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-weight: 600;
    text-transform: uppercase;
}

.preview-mini-card h5 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-main);
}

.preview-chart-placeholder {
    background: #f8fafc;
    border-radius: var(--radius-md);
    border: 1px dashed var(--border);
    padding: 2rem;
    text-align: center;
}

/* ========================
   6. TESTİMONİALS
======================== */
.testimonials-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-xs);
    height: 100%;
    transition: all 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
}

.testimonial-featured {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.06), var(--shadow-soft);
}

.stars {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.author-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ========================
   7. CTA SECTION
======================== */
.cta-section {
    padding: 6rem 0;
}

.cta-box {
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-sub {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    background: white;
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* ========================
   AUTH PAGES
======================== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.auth-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary-gradient);
    filter: blur(80px);
    opacity: 0.1;
    z-index: 0;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    z-index: 1;
}

/* ========================
   FOOTER
======================== */
footer {
    background: transparent;
    padding: 0;
    /* Resetting padding as we now handle it inside the partial for better control */
}

/* ========================
   SCROLL REVEAL
======================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible,
.reveal-right.visible {
    opacity: 1;
    transform: none;
}

/* Stagger delays */
.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

/* ========================
   COUNTDOWN
======================== */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.countdown-box {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    min-width: 110px;
    text-align: center;
    border: 1px solid var(--border);
}

.countdown-box .number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.countdown-box .label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 0.4rem;
    display: block;
}

.countdown-sep {
    font-size: 2.5rem;
    font-weight: 800;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    padding-bottom: 1.5rem;
}

.countdown-section {
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4.5rem 0;
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .float-badge {
        display: none;
    }

    .demo-card-wrapper {
        padding: 0.5rem;
    }

    .hero-section {
        padding: 4rem 0 3rem;
    }
}

/* ========================
   MODÜL TANITIM KARTLARI
======================== */
.module-feature-card {
    background: white;
    border-radius: 20px;
    padding: 1.75rem;
    border: 1.5px solid #f1f5f9;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.module-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, .1);
    border-color: #e2e8f0;
}

.module-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
}

.module-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.module-card-text {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.1rem;
}

.module-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s ease;
}

.module-link:hover {
    gap: 0.7rem;
    color: #1d4ed8;
}

/* Index Specific Styles */
.tercih-list-item {
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.tercih-list-item:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.tercih-list-item.active {
    background: #eff6ff;
    border-color: #dbeafe;
    color: #2563eb;
}

.tercih-list-item .icon-wrap img {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
}

.tercih-list-item .item-text {
    font-size: 1.05rem;
    font-weight: 600;
}

.tercih-text-gradient {
    background: linear-gradient(135deg, #4f46e5, #db2777);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.max-w-3xl {
    max-width: 48rem;
}

/* ========================================
   10. COUNTDOWN & PREMIUM CARDS
======================================== */
.countdown-strip-v12 {
    background: transparent;
    padding: 60px 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.countdown-strip-v12::before {
    content: '';
    position: absolute;
    top: 50%; left: -5%;
    width: 30%; height: 60%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 70%);
    filter: blur(60px);
    z-index: 0;
    transform: translateY(-50%);
}

.countdown-strip-v12::after {
    content: '';
    position: absolute;
    top: 50%; right: -5%;
    width: 30%; height: 60%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06), transparent 70%);
    filter: blur(60px);
    z-index: 0;
    transform: translateY(-50%);
}

.countdown-premium-container,
.features-premium-container {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 40px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 1rem 0;
}

.countdown-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 20px;
    padding: 1.5rem 1rem;
    text-align: center;
    min-width: 110px;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: none;
}

.countdown-sep {
    font-size: 1.8rem;
    font-weight: 800;
    color: #cbd5e1;
    line-height: 1;
    margin-top: -15px;
}

@media (max-width: 768px) {
    .countdown-sep {
        display: none;
        /* Hide on mobile to save space */
    }
}

@media (min-width: 768px) {
    .countdown-card {
        min-width: 110px;
        padding: 1.75rem;
    }
}



.countdown-card .number {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.countdown-card .label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.countdown-card.accent {
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.countdown-card.accent .number {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 576px) {
    .countdown-card {
        min-width: 70px;
        padding: 1rem 0.25rem;
    }

    .countdown-card .number {
        font-size: 1.5rem;
    }
}

/* ========================================
   11. FEATURE CARDS GRID
======================================== */
.features-grid-section {
    padding: 60px 0;
    background: transparent;
}

.feature-card-premium {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.feature-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.feature-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-img-wrap {
    transition: all 0.3s ease;
    display: inline-block;
}

.feature-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.feature-card-premium:hover .feature-icon-box,
.feature-card-premium:hover .feature-img-wrap {
    transform: scale(1.1);
}

.feature-icon-box i {
    font-size: 1.5rem;
}

.feature-card-premium h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.feature-card-premium p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.feature-btn-premium {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #7c3aed;
    text-decoration: none;
    gap: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.feature-btn-premium:hover {
    color: #4f46e5;
    transform: translateX(4px);
}

/* ========================================
   12. PROFILE & AVATAR SYSTEM (Netcan Premium)
   ======================================== */
.profile-card-premium {
    background: rgba(255, 255, 255, 0.9);
    /* Clear glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05), 0 10px 30px rgba(79, 70, 229, 0.03);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-profile {
    position: sticky;
    top: 110px;
    /* Increased buffer */
    z-index: 10;
}

.navbar-custom {
    z-index: 1040 !important;
    /* Modals (1055+) appear above navbar */
}

/* Program Task Setup Modal - always above navbar */
#programTaskSetupModal {
    z-index: 1070 !important;
}

.modal-backdrop {
    z-index: 1050 !important;
}

.avatar-wrapper-premium {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.avatar-main {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #f8fafc;
    transition: all 0.3s ease;
}

.avatar-camera-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 36px;
    height: 36px;
    background: #6366f1;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    z-index: 5;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar-wrapper-premium:hover .avatar-camera-btn {
    transform: scale(1.1);
    background: #4f46e5;
}

.avatar-edit-overlay {
    position: absolute;
    inset: 5px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    color: white;
    z-index: 4;
}

.avatar-wrapper-premium:hover .avatar-edit-overlay {
    opacity: 1;
}

.avatar-wrapper-premium:hover .avatar-main {
    transform: scale(1.02);
}

.profile-status-box {
    background: #f8fafc;
    border-radius: 20px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    border: 1px solid #f1f5f9;
    text-align: left;
}

.profile-status-box p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.micro-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.micro-stat-badge {
    background: white;
    border: 1px solid #f1f5f9;
    padding: 0.6rem 0.8rem;
    border-radius: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.micro-stat-badge i {
    color: #6366f1;
    font-size: 0.9rem;
}

.netcan-insight-sidebar {
    background: #f5f3ff;
    border-radius: 24px;
    border: 1px dashed #ddd6fe;
    padding: 1.5rem;
    position: relative;
    margin-top: 2rem;
}

/* Avatar Modal Styles */
.avatar-preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
    margin: 1.5rem 0;
}

.avatar-preset-item {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    cursor: pointer;
    border: 3px solid transparent;
    padding: 6px;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar-preset-item:hover {
    transform: scale(1.1);
    background: #f8fafc;
}

.avatar-preset-item.active {
    border-color: #6366f1;
    background: #f5f3ff;
}

.avatar-preset-item img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.logout-link-premium {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
}

.logout-link-premium:hover {
    color: #ef4444;
}

/* 13. ACHIEVEMENTS & GAMIFICATION */
.achievement-mini-badge {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 0.5rem;
    text-align: center;
    transition: all 0.3s;
}

.achievement-mini-badge:hover {
    transform: translateY(-5px) scale(1.05);
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.achievement-mini-badge .icon {
    font-size: 1.2rem;
    margin-bottom: 2px;
    display: block;
}

.next-goal-card {
    background: #ffffff;
    border: 1px solid #eff6ff;
    border-radius: 16px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
}

.next-goal-card:hover {
    border-color: #6366f1;
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.1);
}

.next-goal-card .icon-wrapper {
    width: 48px;
    height: 48px;
    background: #f5f3ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.next-goal-card .status-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #6366f1;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
}

.next-goal-card .progress {
    height: 4px;
    border-radius: 2px;
    background: #f1f5f9;
    margin: 0.5rem 0;
}

.next-goal-card .progress-bar {
    background: linear-gradient(90deg, #6366f1, #a855f7);
}

.btn-premium-sm {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 10px;
}

.badge-locked {
    filter: grayscale(1) blur(1px);
    opacity: 0.4;
}

/* ============================================================
   Yeni Sayfa Iskeleti ve Footer Mimarisi
   ============================================================ */

.page-main {
    min-height: calc(100vh - 72px);
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    overflow-x: hidden;
}

.site-footer {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

.footer-top {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #eef2f7;
    padding: 28px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    font-size: 18px;
}

.footer-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-links a,
.footer-copy {
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
}

.footer-links a:hover {
    color: #2563eb;
}

.footer-bottom {
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.8;
    padding: 28px 24px 42px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .footer-top {
        padding: 20px;
        justify-content: center;
        text-align: center;
    }
}

/* ========================
   HOMEPAGE RESPONSIVE OVERRIDES (Premium v12.1)
   ======================== */
@media (max-width: 991.98px) {
    .hero-slider-section {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 2.5rem !important;
        padding-right: 0 !important;
        text-align: center;
        opacity: 0.85;
    }

    .hero-cta {
        width: 100%;
        text-align: center;
        padding: 0.85rem 1.5rem !important;
        font-size: 1rem !important;
        display: inline-block;
    }

    .hero-slider-section .row>div:first-child {
        order: 1;
    }

    .hero-slider-section .row>div:last-child {
        order: 2;
        margin-top: 2.5rem;
    }

    .hero-image-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }

    .carousel-item {
        padding: 2rem 0 !important;
    }

    .hero-slider-section .row {
        min-height: 35vh !important;
        /* Reduced for tablet */
    }

    .carousel-indicators {
        bottom: 0px !important;
    }
}

@media (max-width: 767.98px) {
    .countdown-strip-v12 {
        padding: 60px 0;
    }

    .countdown-strip-v12 h3 {
        font-size: 26px !important;
        text-align: center;
    }

    .countdown-strip-v12 p {
        text-align: center;
        font-size: 1rem !important;
    }

    .countdown-strip-v12 .hero-cta {
        margin-bottom: 3rem;
    }

    .countdown-card {
        min-width: unset !important;
        padding: 1rem 0.5rem !important;
        width: 100%;
    }

    .countdown-card .number {
        font-size: 1.8rem !important;
    }

    .countdown-card .label {
        font-size: 0.65rem !important;
    }

    .features-grid-section {
        padding: 40px 0 !important;
    }

    .hero-slider-section .row {
        min-height: 25vh !important;
        /* Significantly reduced for mobile */
    }

    .carousel-item {
        padding: 1.5rem 0 !important;
    }
}

@media (max-width: 575.98px) {
    .feature-card-premium {
        padding: 1.75rem !important;
    }

    .feature-card-premium h4 {
        font-size: 1.2rem !important;
    }
}
/* --- MOB�L UYUMLULUK D�ZELTMELER� --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.1rem !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        word-wrap: break-word;
    }
    .hero-subtitle {
        font-size: 1rem !important;
    }
    .hero-cta {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }
    .hero-image-main {
        max-width: 100% !important;
        margin-top: 15px;
    }
    
    /* Navbar'daki Netcan butonunu mobilde gizle */
    .netcan-nav-wrapper {
        display: none !important;
    }
    
    /* Bildirim �an�n� mobilde gizle (�ok yer kapl�yor) */
    #notifDropdownBtn {
        display: none !important;
    }
    
    /* Footer Logosu hizalamas� */
    .footer-brand img {
        margin: 0 auto;
    }
    .footer-top {
        flex-direction: column !important;
        text-align: center;
        gap: 15px;
    }
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}


@media (max-width: 575.98px) { .row.g-2.g-md-4.justify-content-center.reveal > div { flex: 0 0 25%; max-width: 25%; padding-left: 2px; padding-right: 2px; } .countdown-card { min-width: unset !important; padding: 0.5rem 0.2rem !important; } .countdown-card .number { font-size: 1.2rem !important; } .countdown-card .label { font-size: 0.55rem !important; letter-spacing: 0.05em; } }

@media (max-width: 575.98px) { .footer-links { flex-direction: column !important; gap: 12px !important; } .footer-bottom { font-size: 10.5px !important; padding: 10px 15px 20px !important; line-height: 1.4 !important; } }

@media (max-width: 768px) { .footer-top { flex-direction: row !important; justify-content: space-between !important; align-items: center !important; padding: 15px 20px !important; } .footer-brand img { width: 85px !important; margin: 0 !important; } .footer-links { flex-direction: row !important; justify-content: flex-end !important; gap: 12px !important; flex-wrap: nowrap !important; } .footer-links a { font-size: 12px !important; margin: 0 !important; } .footer-copy { display: none !important; } }

@media (max-width: 768px) { .netcan-nav-wrapper { display: inline-flex !important; } .navbar-logo { height: 38px !important; max-width: 120px !important; } }

@media (max-width: 767.98px) { .btn-ai-koc { display: none !important; } .netcan-avatar-nav { margin-right: 0 !important; } }

@media (max-width: 767.98px) { .netcan-avatar-nav { width: 42px !important; height: 42px !important; } }

/* Oda page footer wrapper - accounts for fixed sidebar */.oda-footer-wrapper { margin-left: 260px; }.oda-footer-wrapper .footer-top { border-top: none; }@media (max-width: 991.98px) { .oda-footer-wrapper { margin-left: 0; } }