:root {
    --primary-color: #ff4757;
    --primary-dark: #e84118;
    --primary-light: #ff6b81;
    --secondary-color: #2f3542;
    --accent-color: #7bed9f;
    --bg-color: #f1f2f6;
    --surface-color: #ffffff;
    --text-color: #2f3542;
    --text-light: #747d8c;
    --border-radius: 16px;
    
    /* 3D Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 12px 24px rgba(0, 0, 0, 0.12), 0 6px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.2), 0 15px 30px rgba(0, 0, 0, 0.15);
    --shadow-3d: 0 20px 60px rgba(255, 71, 87, 0.3), 0 10px 30px rgba(255, 71, 87, 0.2);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 140px;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Components */

/* Logo Wrapper - 3D Effect */
.logo-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(0deg);
    transition: var(--transition);
    position: relative;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 20px;
}

.logo-wrapper:hover {
    transform: perspective(1000px) rotateY(-5deg) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1);
    display: block;
    transition: var(--transition);
}

.logo-wrapper:hover img {
    transform: scale(1.05);
}

/* Grid */
.grid {
    display: grid;
    gap: 24px;
}
.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Card - 3D Effect */
.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 71, 87, 0.2);
}

/* Buttons - 3D Effect */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) translateZ(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-3d);
}

.btn-primary:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #3d4553 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(47, 53, 66, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #3d4553 0%, var(--secondary-color) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(47, 53, 66, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.2);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-3d);
    border-color: transparent;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Navbar - 3D Effect */
.navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 18px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.brand:hover {
    transform: scale(1.05);
}

.user-info {
    font-weight: 500;
    color: var(--text-light);
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1) 0%, rgba(255, 107, 129, 0.1) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 71, 87, 0.2);
}

/* Form - 3D Effect */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 71, 87, 0.1), var(--shadow-md);
    transform: translateY(-2px);
    background: white;
}

/* Utilities */
.text-light {
    color: var(--text-light);
}

.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@keyframes slideIn {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* 3D Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 3D Card Hover Effect */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d:hover {
    transform: rotateY(5deg) rotateX(-5deg);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, var(--secondary-color) 0%, #3d4553 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    max-width: 90%;
    text-align: center;
    pointer-events: none; /* Gizliyken tıklamayı engelle */
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto; /* Gösterildiğinde tıklanabilsin */
}

.toast.error {
    background: linear-gradient(135deg, #e84118 0%, #ff4757 100%);
}

.toast.success {
    background: linear-gradient(135deg, #2ed573 0%, #7bed9f 100%);
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-pending {
    background: linear-gradient(135deg, #ffa502 0%, #ffb84d 100%);
    color: white;
}

.badge-preparing {
    background: linear-gradient(135deg, #3742fa 0%, #5352ed 100%);
    color: white;
}

.badge-delivered {
    background: linear-gradient(135deg, #2ed573 0%, #7bed9f 100%);
    color: white;
}

.badge-closed {
    background: linear-gradient(135deg, var(--text-light) 0%, #a4b0be 100%);
    color: white;
}

/* Mockup Interface Styles */
.mockup-window {
    background: white;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mockup-header {
    background: #f1f2f6;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff4757; }
.mockup-dots span:nth-child(2) { background: #ffa502; }
.mockup-dots span:nth-child(3) { background: #2ed573; }

.mockup-search {
    flex: 1;
    height: 30px;
    background: white;
    border-radius: 8px;
    max-width: 300px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.mockup-user {
    width: 30px;
    height: 30px;
    background: #dfe4ea;
    border-radius: 50%;
}

.mockup-body {
    flex: 1;
    display: flex;
    background: #f8f9fa;
}

.mockup-sidebar {
    width: 60px;
    background: white;
    border-right: 1px solid rgba(0,0,0,0.05);
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mockup-nav-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    background: #f1f2f6;
}

.mockup-nav-item.active {
    background: #ff4757;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
}

.mockup-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mockup-stats-row {
    display: flex;
    gap: 20px;
}

.mockup-stat-card {
    flex: 1;
    height: 80px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.mockup-stat-card::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 4px;
    background: #f1f2f6;
    border-radius: 2px;
}

.mockup-stat-card::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 40%;
    height: 4px;
    background: #2ed573;
    border-radius: 2px;
    z-index: 1;
}

.mockup-stat-card:nth-child(2)::before { background: #ffa502; width: 60%; }
.mockup-stat-card:nth-child(3)::before { background: #ff4757; width: 30%; }

.mockup-main-area {
    flex: 1;
    display: flex;
    gap: 20px;
}

.mockup-chart-placeholder {
    flex: 2;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    padding: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding-bottom: 20px;
}

.mockup-bar {
    width: 12%;
    background: #f1f2f6;
    border-radius: 4px;
    transition: height 0.3s;
    transform-origin: bottom;
    animation: growUp 1s ease-out backwards;
}

@keyframes growUp {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.mockup-bar:nth-child(1) { height: 40%; background: #ff6b81; animation-delay: 0.2s; }
.mockup-bar:nth-child(2) { height: 70%; background: #ff4757; animation-delay: 0.4s; }
.mockup-bar:nth-child(3) { height: 50%; background: #ff6b81; animation-delay: 0.3s; }
.mockup-bar:nth-child(4) { height: 85%; background: #ff4757; animation-delay: 0.5s; }
.mockup-bar:nth-child(5) { height: 60%; background: #ff6b81; animation-delay: 0.4s; }

.mockup-list-placeholder {
    flex: 1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-list-item {
    height: 12px;
    background: #f1f2f6;
    border-radius: 4px;
    width: 100%;
}

.mockup-list-item:nth-child(1) { width: 80%; }
.mockup-list-item:nth-child(2) { width: 60%; }
.mockup-list-item:nth-child(3) { width: 90%; }

.feature-link {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: var(--transition);
}

.feature-link:hover {
    opacity: 1;
    transform: translateX(5px);
}

.feature-link span {
    margin-left: 8px;
    transition: var(--transition);
}

.feature-link:hover span {
    transform: translateX(5px);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .mockup-window {
        min-height: 300px;
    }
    
    .mockup-sidebar {
        width: 40px;
        padding: 15px 5px;
    }
    
    .mockup-stats-row {
        gap: 10px;
    }
    
    .mockup-stat-card {
        height: 60px;
        border-radius: 8px;
    }
    
    .mockup-main-area {
        flex-direction: column;
        gap: 15px;
    }
    
    .mockup-chart-placeholder {
        padding: 10px;
        min-height: 120px;
    }
    
    .mockup-list-placeholder {
        display: none;
    }
    
    .hero-section {
        padding: 80px 20px 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        display: flex;
        gap: 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .mockup-sidebar {
        display: none;
    }
    
    .mockup-stats-row {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-lg {
        width: 100%;
        padding: 15px 20px;
    }
}
