/* ===================================
   KARAY Digital - Ana Stil Dosyası
   Modern, Responsive, Dark/Light Tema
   =================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&subset=latin,latin-ext&display=swap');

/* ===================================
   CSS Değişkenleri - Renk Paleti
   =================================== */
:root {
    /* Temel Renkler */
    --primary: #7747a6;
    --primary-light: #9b6bc4;
    --primary-dark: #5c3485;
    --gray: #373737;
    --gray-light: #6b6b6b;
    --gray-dark: #1a1a1a;
    
    /* Light Tema (Varsayılan) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --bg-tertiary: #f0f0f0;
    --text-primary: #1a1a1a;
    --text-secondary: #373737;
    --text-muted: #6b6b6b;
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --header-bg: rgba(255, 255, 255, 0.95);
    --hero-gradient: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
    --hero-subtitle-color: #4a4a4a;
    
    /* Geçişler */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Tipografi */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Boyutlar */
    --header-height: 80px;
    --container-max: 1400px;
    --section-padding: 100px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

/* Dark Tema */
[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #9a9a9a;
    --border-color: #2a2a2a;
    --card-bg: #151515;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --header-bg: rgba(10, 10, 10, 0.95);
    --hero-gradient: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
    --hero-subtitle-color: #ffffff;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: clip;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding: 8px 20px;
    background: rgba(119, 71, 166, 0.1);
    border-radius: 30px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Header Styles
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 24px;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 52px;
    width: auto;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

/* Mobile Menu Header - Hidden on Desktop */
.mobile-menu-header {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: block;
    padding: 10px 20px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(119, 71, 166, 0.08);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.has-dropdown > .nav-link::after {
    display: none;
}

.has-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

.has-dropdown > .nav-link::before {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-top-color: currentColor;
    border-bottom: 0;
}

/* Invisible bridge to prevent dropdown from closing */
.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1000;
}

/* Sadece direkt alt dropdown açılır, nested değil */
.has-dropdown:hover > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 14px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.2s;
}

.dropdown-link:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
}

/* Nested Dropdown Support */
.nav-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-dropdown li {
    position: relative;
}

/* Alt menü olan öğe stili */
.nav-dropdown li.has-dropdown > a.dropdown-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 10px;
}

.nav-dropdown .submenu-arrow {
    margin-left: 8px;
    opacity: 0.4;
    transition: all 0.2s;
}

.nav-dropdown li.has-dropdown:hover > a.dropdown-link {
    color: var(--primary);
}

.nav-dropdown li.has-dropdown:hover > a .submenu-arrow {
    opacity: 1;
}

/* Nested dropdown - yan yana düzgün açılır */
.nested-dropdown {
    position: absolute;
    left: 100%;
    top: -8px;
    min-width: 220px;
    background: var(--card-bg);
    z-index: 1001;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 1002;
    margin-left: 4px;
}

/* Invisible bridge for nested dropdown - menü arası köprü */
.nav-dropdown li.has-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    right: -8px;
    width: 12px;
    height: 100%;
    background: transparent;
}

/* Alt menü olan li için padding ayarı */
.nav-dropdown li.has-dropdown {
    position: relative;
}

/* Alt menü SADECE direkt hover edilince açılır */
.nav-dropdown li.has-dropdown:hover > .nested-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Nested dropdown içindeki linkler - tıklanabilir */
.nested-dropdown .dropdown-link {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.nested-dropdown .dropdown-link:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
}

/* Nested li için tıklanabilirlik */
.nested-dropdown li {
    position: relative;
}

/* Hover durumunda arka plan */
.nav-dropdown li.has-dropdown:hover {
    background: var(--bg-tertiary);
    border-radius: 8px;
}

/* First level dropdown arrow */
.nav-list > li.has-dropdown > .nav-link::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.2s;
}

.nav-list > li.has-dropdown:hover > .nav-link::after {
    transform: rotate(180deg);
}

/* Login Button Style */
.nav-link-login {
    background: var(--primary);
    color: white !important;
    border-radius: 8px;
    padding: 10px 20px !important;
}

.nav-link-login:hover {
    background: var(--primary-dark);
}

.nav-link-login::after {
    display: none;
}

/* Notification Bell */
.nav-notification {
    position: relative;
}

.notification-bell {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.notification-bell:hover {
    color: var(--primary);
}

.notification-bell.has-new {
    animation: bellShake 0.5s ease-in-out 3;
}

@keyframes bellShake {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
    75% { transform: rotate(-10deg); }
}

.notif-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: #ef4444;
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notif-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1000;
    overflow: hidden;
}

.notif-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notif-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-primary);
}

.mark-all-read {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

.notif-dropdown-list {
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) var(--bg-tertiary);
}

.notif-dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.notif-dropdown-list::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

.notif-dropdown-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.notif-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    transition: background 0.2s;
    border-bottom: 1px solid var(--border-color);
}

.notif-item:last-child {
    border-bottom: none;
}

.notif-item:hover {
    background: var(--bg-tertiary);
}

.notif-item.unread {
    background: rgba(119, 71, 166, 0.05);
}

.notif-item .notif-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-item .notif-icon svg {
    color: white;
}

.notif-content p {
    font-size: 0.8125rem;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.4;
}

.notif-content span {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.notif-empty {
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.notif-dropdown-footer {
    display: block;
    padding: 14px;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary);
    border-top: 1px solid var(--border-color);
    transition: background 0.2s;
}

.notif-dropdown-footer:hover {
    background: var(--bg-tertiary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ===================================
   BB8 Theme Toggle
   =================================== */
.bb8-toggle {
    --toggle-size: 5px;
    --toggle-width: 10.625em;
    --toggle-height: 5.625em;
    --toggle-offset: calc((var(--toggle-height) - var(--bb8-diameter)) / 2);
    --toggle-bg: linear-gradient(#2c4770, #070e2b 35%, #628cac 50% 70%, #a6c5d4) no-repeat;
    --bb8-diameter: 4.375em;
    --radius: 99em;
    --transition: 0.4s;
    --accent: #de7d2f;
    --bb8-bg: #fff;
}

.bb8-toggle,
.bb8-toggle *,
.bb8-toggle *::before,
.bb8-toggle *::after {
    box-sizing: border-box;
}

.bb8-toggle {
    cursor: pointer;
    font-size: var(--toggle-size);
}

.bb8-toggle__checkbox {
    appearance: none;
    display: none;
}

.bb8-toggle__container {
    width: var(--toggle-width);
    height: var(--toggle-height);
    background: var(--toggle-bg);
    background-size: 100% 11.25em;
    background-position-y: -5.625em;
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
}

.bb8 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: calc(var(--toggle-offset) - 1.688em + 0.188em);
    left: var(--toggle-offset);
    transition: var(--transition);
    z-index: 2;
}

.bb8__head-container {
    position: relative;
    transition: var(--transition);
    z-index: 2;
    transform-origin: 1.25em 3.75em;
}

.bb8__head {
    overflow: hidden;
    margin-bottom: -0.188em;
    width: 2.5em;
    height: 1.688em;
    background: linear-gradient(transparent 0.063em, dimgray 0.063em 0.313em, transparent 0.313em 0.375em, var(--accent) 0.375em 0.5em, transparent 0.5em 1.313em, silver 1.313em 1.438em, transparent 1.438em),
        linear-gradient(45deg, transparent 0.188em, var(--bb8-bg) 0.188em 1.25em, transparent 1.25em),
        linear-gradient(-45deg, transparent 0.188em, var(--bb8-bg) 0.188em 1.25em, transparent 1.25em),
        linear-gradient(var(--bb8-bg) 1.25em, transparent 1.25em);
    border-radius: var(--radius) var(--radius) 0 0;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0.063em 0.125em gray);
}

.bb8__head::before {
    content: "";
    position: absolute;
    width: 0.563em;
    height: 0.563em;
    background: radial-gradient(0.125em circle at 0.25em 0.375em, red, transparent),
        radial-gradient(0.063em circle at 0.375em 0.188em, var(--bb8-bg) 50%, transparent 100%),
        linear-gradient(45deg, #000 0.188em, dimgray 0.313em 0.375em, #000 0.5em);
    border-radius: var(--radius);
    top: 0.413em;
    left: 50%;
    transform: translate(-50%);
    box-shadow: 0 0 0 0.089em lightgray, 0.563em 0.281em 0 -0.148em, 0.563em 0.281em 0 -0.1em var(--bb8-bg), 0.563em 0.281em 0 -0.063em;
    z-index: 1;
    transition: var(--transition);
}

.bb8__head::after {
    content: "";
    position: absolute;
    bottom: 0.375em;
    left: 0;
    width: 100%;
    height: 0.188em;
    background: linear-gradient(to right, var(--accent) 0.125em, transparent 0.125em 0.188em, var(--accent) 0.188em 0.313em, transparent 0.313em 0.375em, var(--accent) 0.375em 0.938em, transparent 0.938em 1em, var(--accent) 1em 1.125em, transparent 1.125em 1.875em, var(--accent) 1.875em 2em, transparent 2em 2.063em, var(--accent) 2.063em 2.25em, transparent 2.25em 2.313em, var(--accent) 2.313em 2.375em, transparent 2.375em 2.438em, var(--accent) 2.438em);
    transition: var(--transition);
}

.bb8__antenna {
    position: absolute;
    transform: translateY(-90%);
    width: 0.059em;
    border-radius: var(--radius) var(--radius) 0 0;
    transition: var(--transition);
}

.bb8__antenna:nth-child(1) {
    height: 0.938em;
    right: 0.938em;
    background: linear-gradient(#000 0.188em, silver 0.188em);
}

.bb8__antenna:nth-child(2) {
    height: 0.375em;
    left: 50%;
    transform: translate(-50%, -90%);
    background: silver;
}

.bb8__body {
    width: 4.375em;
    height: 4.375em;
    background: var(--bb8-bg);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
    transform: rotate(45deg);
    background: linear-gradient(-90deg, var(--bb8-bg) 4%, var(--accent) 4% 10%, transparent 10% 90%, var(--accent) 90% 96%, var(--bb8-bg) 96%),
        linear-gradient(var(--bb8-bg) 4%, var(--accent) 4% 10%, transparent 10% 90%, var(--accent) 90% 96%, var(--bb8-bg) 96%),
        linear-gradient(to right, transparent 2.156em, silver 2.156em 2.219em, transparent 2.188em),
        linear-gradient(transparent 2.156em, silver 2.156em 2.219em, transparent 2.188em);
    background-color: var(--bb8-bg);
}

.bb8__body::after {
    content: "";
    bottom: 1.5em;
    left: 0.563em;
    position: absolute;
    width: 0.188em;
    height: 0.188em;
    background: rgb(236, 236, 236);
    color: rgb(236, 236, 236);
    border-radius: 50%;
    box-shadow: 0.875em 0.938em, 0 -1.25em, 0.875em -2.125em, 2.125em -2.125em, 3.063em -1.25em, 3.063em 0, 2.125em 0.938em;
}

.bb8__body::before {
    content: "";
    width: 2.625em;
    height: 2.625em;
    position: absolute;
    border-radius: 50%;
    z-index: 0.1;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 0.313em solid var(--accent);
    background: radial-gradient(1em circle at center, rgb(236, 236, 236) 50%, transparent 51%),
        radial-gradient(1.25em circle at center, var(--bb8-bg) 50%, transparent 51%),
        linear-gradient(-90deg, transparent 42%, var(--accent) 42% 58%, transparent 58%),
        linear-gradient(var(--bb8-bg) 42%, var(--accent) 42% 58%, var(--bb8-bg) 58%);
}

.artificial__hidden {
    position: absolute;
    border-radius: inherit;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bb8__shadow {
    content: "";
    width: var(--bb8-diameter);
    height: 20%;
    border-radius: 50%;
    background: #3a271c;
    box-shadow: 0.313em 0 3.125em #3a271c;
    opacity: 0.25;
    position: absolute;
    bottom: 0;
    left: calc(var(--toggle-offset) - 0.938em);
    transition: var(--transition);
    transform: skew(-70deg);
    z-index: 1;
}

.bb8-toggle__scenery {
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    position: relative;
    border-radius: inherit;
}

.bb8-toggle__scenery::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 30%;
    bottom: 0;
    background: #b18d71;
    z-index: 1;
}

.bb8-toggle__cloud {
    z-index: 1;
    position: absolute;
    border-radius: 50%;
}

.bb8-toggle__cloud:nth-last-child(1) {
    width: 0.875em;
    height: 0.625em;
    filter: blur(0.125em) drop-shadow(0.313em 0.313em #ffffffae) drop-shadow(-0.625em 0 #fff) drop-shadow(-0.938em -0.125em #fff);
    right: 1.875em;
    top: 2.813em;
    background: linear-gradient(to top right, #ffffffae, #ffffffae);
    transition: var(--transition);
}

.bb8-toggle__cloud:nth-last-child(2) {
    top: 0.625em;
    right: 4.375em;
    width: 0.875em;
    height: 0.375em;
    background: #dfdedeae;
    filter: blur(0.125em) drop-shadow(-0.313em -0.188em #e0dfdfae) drop-shadow(-0.625em -0.188em #bbbbbbae) drop-shadow(-1em 0.063em #cfcfcfae);
    transition: 0.6s;
}

.bb8-toggle__cloud:nth-last-child(3) {
    top: 1.25em;
    right: 0.938em;
    width: 0.875em;
    height: 0.375em;
    background: #ffffffae;
    filter: blur(0.125em) drop-shadow(0.438em 0.188em #ffffffae) drop-shadow(-0.625em 0.313em #ffffffae);
    transition: 0.8s;
}

.gomrassen,
.hermes,
.chenini {
    position: absolute;
    border-radius: var(--radius);
    background: linear-gradient(#fff, #6e8ea2);
    top: 100%;
}

.gomrassen {
    left: 0.938em;
    width: 1.875em;
    height: 1.875em;
    box-shadow: 0 0 0.188em #ffffff52, 0 0 0.188em #6e8ea24b;
    transition: var(--transition);
}

.gomrassen::before,
.gomrassen::after {
    content: "";
    position: absolute;
    border-radius: inherit;
    box-shadow: inset 0 0 0.063em rgb(140, 162, 169);
    background: rgb(184, 196, 200);
}

.gomrassen::before {
    left: 0.313em;
    top: 0.313em;
    width: 0.438em;
    height: 0.438em;
}

.gomrassen::after {
    width: 0.25em;
    height: 0.25em;
    left: 1.25em;
    top: 0.75em;
}

.hermes {
    left: 3.438em;
    width: 0.625em;
    height: 0.625em;
    box-shadow: 0 0 0.125em #ffffff52, 0 0 0.125em #6e8ea24b;
    transition: 0.6s;
}

.chenini {
    left: 4.375em;
    width: 0.5em;
    height: 0.5em;
    box-shadow: 0 0 0.125em #ffffff52, 0 0 0.125em #6e8ea24b;
    transition: 0.8s;
}

.tatto-1,
.tatto-2 {
    position: absolute;
    width: 1.25em;
    height: 1.25em;
    border-radius: var(--radius);
}

.tatto-1 {
    background: #fefefe;
    right: 3.125em;
    top: 0.625em;
    box-shadow: 0 0 0.438em #fdf4e1;
    transition: var(--transition);
}

.tatto-2 {
    background: linear-gradient(#e6ac5c, #d75449);
    right: 1.25em;
    top: 2.188em;
    box-shadow: 0 0 0.438em #e6ad5c3d, 0 0 0.438em #d755494f;
    transition: 0.7s;
}

.bb8-toggle__star {
    position: absolute;
    width: 0.063em;
    height: 0.063em;
    background: #fff;
    border-radius: var(--radius);
    filter: drop-shadow(0 0 0.063em #fff);
    color: #fff;
    top: 100%;
}

.bb8-toggle__star:nth-child(1) {
    left: 3.75em;
    box-shadow: 1.25em 0.938em, -1.25em 2.5em, 0 1.25em, 1.875em 0.625em, -3.125em 1.875em, 1.25em 2.813em;
    transition: 0.2s;
}

.bb8-toggle__star:nth-child(2) {
    left: 4.688em;
    box-shadow: 0.625em 0, 0 0.625em, -0.625em -0.625em, 0.625em 0.938em, -3.125em 1.25em, 1.25em -1.563em;
    transition: 0.3s;
}

.bb8-toggle__star:nth-child(3) {
    left: 5.313em;
    box-shadow: -0.625em -0.625em, -2.188em 1.25em, -2.188em 0, -3.75em -0.625em, -3.125em -0.625em, -2.5em -0.313em, 0.75em -0.625em;
    transition: var(--transition);
}

.bb8-toggle__star:nth-child(4) {
    left: 1.875em;
    width: 0.125em;
    height: 0.125em;
    transition: 0.5s;
}

.bb8-toggle__star:nth-child(5) {
    left: 5em;
    width: 0.125em;
    height: 0.125em;
    transition: 0.6s;
}

.bb8-toggle__star:nth-child(6) {
    left: 2.5em;
    width: 0.125em;
    height: 0.125em;
    transition: 0.7s;
}

.bb8-toggle__star:nth-child(7) {
    left: 3.438em;
    width: 0.125em;
    height: 0.125em;
    transition: 0.8s;
}

/* BB8 Toggle Actions - Checked State (Light Theme) */
.bb8-toggle__checkbox:checked + .bb8-toggle__container .bb8-toggle__star:nth-child(1) { top: 0.625em; }
.bb8-toggle__checkbox:checked + .bb8-toggle__container .bb8-toggle__star:nth-child(2) { top: 1.875em; }
.bb8-toggle__checkbox:checked + .bb8-toggle__container .bb8-toggle__star:nth-child(3) { top: 1.25em; }
.bb8-toggle__checkbox:checked + .bb8-toggle__container .bb8-toggle__star:nth-child(4) { top: 3.438em; }
.bb8-toggle__checkbox:checked + .bb8-toggle__container .bb8-toggle__star:nth-child(5) { top: 3.438em; }
.bb8-toggle__checkbox:checked + .bb8-toggle__container .bb8-toggle__star:nth-child(6) { top: 0.313em; }
.bb8-toggle__checkbox:checked + .bb8-toggle__container .bb8-toggle__star:nth-child(7) { top: 1.875em; }
.bb8-toggle__checkbox:checked + .bb8-toggle__container .bb8-toggle__cloud { right: -100%; }
.bb8-toggle__checkbox:checked + .bb8-toggle__container .gomrassen { top: 0.938em; }
.bb8-toggle__checkbox:checked + .bb8-toggle__container .hermes { top: 2.5em; }
.bb8-toggle__checkbox:checked + .bb8-toggle__container .chenini { top: 2.75em; }
.bb8-toggle__checkbox:checked + .bb8-toggle__container { background-position-y: 0; }
.bb8-toggle__checkbox:checked + .bb8-toggle__container .tatto-1 { top: 100%; }
.bb8-toggle__checkbox:checked + .bb8-toggle__container .tatto-2 { top: 100%; }
.bb8-toggle__checkbox:checked + .bb8-toggle__container .bb8 { left: calc(100% - var(--bb8-diameter) - var(--toggle-offset)); }
.bb8-toggle__checkbox:checked + .bb8-toggle__container .bb8__shadow { left: calc(100% - var(--bb8-diameter) - var(--toggle-offset) + 0.938em); transform: skew(70deg); }
.bb8-toggle__checkbox:checked + .bb8-toggle__container .bb8__body { transform: rotate(225deg); }

/* BB8 Hover Effects */
.bb8-toggle__checkbox:hover + .bb8-toggle__container .bb8__head::before { left: 100%; }
.bb8-toggle__checkbox:not(:checked):hover + .bb8-toggle__container .bb8__antenna:nth-child(1) { right: 1.5em; }
.bb8-toggle__checkbox:hover + .bb8-toggle__container .bb8__antenna:nth-child(2) { left: 0.938em; }
.bb8-toggle__checkbox:hover + .bb8-toggle__container .bb8__head::after { background-position: 1.375em 0; }
.bb8-toggle__checkbox:checked:hover + .bb8-toggle__container .bb8__head::before { left: 0; }
.bb8-toggle__checkbox:checked:hover + .bb8-toggle__container .bb8__antenna:nth-child(2) { left: calc(100% - 0.938em); }
.bb8-toggle__checkbox:checked:hover + .bb8-toggle__container .bb8__head::after { background-position: -1.375em 0; }
.bb8-toggle__checkbox:active + .bb8-toggle__container .bb8__head-container { transform: rotate(25deg); }
.bb8-toggle__checkbox:checked:active + .bb8-toggle__container .bb8__head-container { transform: rotate(-25deg); }
.bb8:hover .bb8__head::before, .bb8:hover .bb8__antenna:nth-child(2) { left: 50% !important; }
.bb8:hover .bb8__antenna:nth-child(1) { right: 0.938em !important; }
.bb8:hover .bb8__head::after { background-position: 0 0 !important; }

/* ===================================
   Breadcrumb
   =================================== */
.breadcrumb {
    padding: calc(var(--header-height) + 20px) 0 20px;
    background: var(--bg-secondary);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    font-size: 0.875rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-item a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--text-muted);
    opacity: 0.5;
}

.breadcrumb-separator svg {
    width: 16px;
    height: 16px;
}

/* ===================================
   Auth Page Styles (Animated Login/Register)
   =================================== */
.auth-page {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 20px 60px;
    background: var(--bg-primary);
    gap: 50px;
    position: relative;
    overflow: hidden;
}

/* Auth Page Stars */
.auth-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.auth-stars .star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.6;
    animation: twinkle 3s infinite;
}

.auth-stars .star:nth-child(2n) {
    animation-delay: 1s;
    background: var(--gray-light);
}

.auth-stars .star:nth-child(3n) {
    animation-delay: 2s;
    width: 2px;
    height: 2px;
}

[data-theme="dark"] .auth-stars .star {
    opacity: 0.8;
}

.auth-container,
.auth-benefits {
    position: relative;
    z-index: 1;
}

.auth-container {
    position: relative;
    width: 900px;
    height: 540px;
    border: 2px solid var(--primary);
    box-shadow: 0 0 35px rgba(119, 71, 166, 0.25);
    overflow: hidden;
    border-radius: 16px;
    background: var(--card-bg);
}

[data-theme="dark"] .auth-container {
    box-shadow: 0 0 50px rgba(119, 71, 166, 0.3);
}

/* Form Box */
.auth-container .form-box {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    z-index: 10;
}

.form-box.Login {
    left: 0;
    padding: 0 45px;
    overflow: visible;
}

.form-box.Login .animation {
    transform: translateX(0%);
    transition: 0.4s;
    opacity: 1;
    transition-delay: calc(0.03s * var(--S));
}

.auth-container.active .form-box.Login .animation {
    transform: translateX(-120%);
    opacity: 0;
    transition-delay: calc(0.03s * var(--D));
}

.form-box.Register {
    right: 0;
    padding: 0 45px;
    padding-top: 15px;
    overflow: visible;
}

.form-box.Register .animation {
    transform: translateX(120%);
    transition: 0.4s ease;
    opacity: 0;
    filter: blur(5px);
    transition-delay: calc(0.03s * var(--S));
}

.auth-container.active .form-box.Register .animation {
    transform: translateX(0%);
    opacity: 1;
    filter: blur(0px);
    transition-delay: calc(0.03s * var(--li));
}

.form-box h2 {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 5px;
}

/* Input Box */
.form-box .input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin-top: 18px;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    font-family: var(--font-primary);
    border-bottom: 2px solid var(--border-color);
    padding-right: 28px;
    transition: 0.4s;
}

.input-box input:focus,
.input-box input:valid {
    border-bottom-color: var(--primary);
}

.input-box input::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.input-box input:focus::placeholder {
    opacity: 0.5;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: 0.3s;
}

.input-box input:focus ~ label,
.input-box input:valid ~ label {
    opacity: 0;
    visibility: hidden;
}

.input-box svg {
    position: absolute;
    top: 50%;
    right: 0;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: 0.4s;
}

.input-box input:focus ~ svg,
.input-box input:valid ~ svg {
    color: var(--primary);
}

/* Auth Button */
.auth-btn {
    position: relative;
    width: 100%;
    height: 48px;
    background: var(--primary);
    border-radius: 40px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    border: none;
    color: #ffffff;
    overflow: hidden;
    z-index: 1;
    margin-top: 18px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.auth-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(119, 71, 166, 0.35);
}

/* Register Link */
.regi-link {
    font-size: 0.9375rem;
    text-align: center;
    margin-top: 24px;
    color: var(--text-muted);
    line-height: 1.5;
}

.regi-link p {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.regi-link a {
    color: var(--primary);
    font-weight: 600;
    display: block;
}

.regi-link a:hover {
    text-decoration: underline;
}

/* Auth Alerts */
.auth-error,
.auth-success {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.8125rem;
    text-align: center;
    margin-bottom: 5px;
}

.auth-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.auth-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
}

/* Info Content */
.info-content {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    z-index: 5;
}

.info-content.Login {
    right: 0;
    text-align: right;
    padding: 0 40px 60px 140px;
}

.info-content.Login .animation {
    transform: translateX(0);
    transition: 0.4s ease;
    transition-delay: calc(0.03s * var(--S));
    opacity: 1;
    filter: blur(0px);
}

.auth-container.active .info-content.Login .animation {
    transform: translateX(120%);
    opacity: 0;
    filter: blur(5px);
    transition-delay: calc(0.03s * var(--D));
}

.info-content.Register {
    left: 0;
    text-align: left;
    padding: 0 140px 60px 40px;
    pointer-events: none;
}

.info-content.Register .animation {
    transform: translateX(-120%);
    transition: 0.4s ease;
    opacity: 0;
    filter: blur(5px);
    transition-delay: calc(0.03s * var(--S));
}

.auth-container.active .info-content.Register .animation {
    transform: translateX(0%);
    opacity: 1;
    filter: blur(0);
    transition-delay: calc(0.03s * var(--li));
}

.info-content h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: 14px;
}

.info-content p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* Curved Shapes */
.auth-container .curved-shape {
    position: absolute;
    right: 0;
    top: -5px;
    height: 700px;
    width: 900px;
    background: linear-gradient(45deg, var(--gray), var(--primary));
    transform: rotate(10deg) skewY(40deg);
    transform-origin: bottom right;
    transition: 0.8s ease;
    transition-delay: 0.3s;
    z-index: 1;
}

.auth-container.active .curved-shape {
    transform: rotate(0deg) skewY(0deg);
    transition-delay: 0.1s;
}

.auth-container .curved-shape2 {
    position: absolute;
    left: 270px;
    top: 100%;
    height: 800px;
    width: 900px;
    background: var(--card-bg);
    border-top: 3px solid var(--primary);
    transform: rotate(0deg) skewY(0deg);
    transform-origin: bottom left;
    transition: 0.8s ease;
    transition-delay: 0.1s;
    z-index: 2;
}

.auth-container.active .curved-shape2 {
    transform: rotate(-11deg) skewY(-41deg);
    transition-delay: 0.3s;
}

/* Auth Benefits Section */
.auth-benefits {
    width: 100%;
    max-width: 900px;
}

.auth-benefits-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-align: center;
}

.auth-benefits-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 32px;
}

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

.benefit-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: left;
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.benefit-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Auth Page Responsive */
@media (max-width: 1024px) {
    .auth-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .auth-container {
        width: 100%;
        max-width: 420px;
        height: auto;
        min-height: 520px;
    }
    
    .auth-container .form-box {
        width: 100%;
        position: relative;
        padding: 40px 30px;
    }
    
    .form-box.Register {
        display: none;
    }
    
    .auth-container.active .form-box.Login {
        display: none;
    }
    
    .auth-container.active .form-box.Register {
        display: flex;
    }
    
    .form-box.Login .animation,
    .form-box.Register .animation,
    .auth-container.active .form-box.Login .animation,
    .auth-container.active .form-box.Register .animation {
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }
    
    .info-content,
    .curved-shape,
    .curved-shape2 {
        display: none !important;
    }
    
    .auth-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .auth-benefits-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 500px) {
    .auth-benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   User Dashboard Styles
   =================================== */
.dashboard-page {
    min-height: 100vh;
    padding: calc(var(--header-height) + 40px) 0 60px;
    background: var(--bg-secondary);
}

.dashboard-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.user-info {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.user-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.user-email {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dashboard-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 12px;
    transition: all 0.2s;
}

.dashboard-nav-link:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.dashboard-nav-link.active {
    background: var(--primary);
    color: white;
}

.dashboard-nav-link.logout {
    margin-top: 16px;
    color: #ef4444;
}

.dashboard-nav-link.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

.dashboard-nav-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav-badge {
    margin-left: auto;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--primary);
    color: white;
    border-radius: 10px;
}

.dashboard-nav-link.active .nav-badge {
    background: white;
    color: var(--primary);
}

/* Dashboard Content */
.dashboard-content {
    min-height: 500px;
}

.dashboard-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-header-row .section-title {
    margin-bottom: 0;
}

.subsection-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 30px 0 16px;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.stat-icon.purple { background: rgba(119, 71, 166, 0.15); color: var(--primary); }
.stat-icon.blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.stat-icon.orange { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

.stat-icon svg {
    width: 26px;
    height: 26px;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Theme List */
.theme-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.theme-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border-radius: 12px;
}

.theme-info h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.theme-category {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    background: var(--primary);
    border-radius: 10px;
    transition: all 0.2s;
}

.btn-download:hover {
    background: var(--primary-dark);
}

/* Themes Grid */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.purchased-theme-card {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 24px;
}

.purchased-theme-card .theme-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.purchased-theme-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.theme-badge {
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--primary);
    color: white;
    border-radius: 20px;
}

.theme-meta {
    margin-bottom: 20px;
}

.theme-meta p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.theme-meta strong {
    color: var(--text-primary);
}

.theme-actions {
    display: flex;
    gap: 10px;
}

/* Tickets List */
.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 14px;
}

.ticket-info {
    flex: 1;
}

.ticket-number {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
}

.ticket-info h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin: 4px 0;
}

.ticket-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.ticket-status {
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.status-open { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.status-answered { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.status-waiting { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.status-closed { background: rgba(107, 114, 128, 0.15); color: #6b7280; }

/* Notifications List */
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 14px;
    transition: all 0.2s;
}

.notification-item.unread {
    background: rgba(119, 71, 166, 0.08);
    border-left: 3px solid var(--primary);
}

.notification-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 12px;
    flex-shrink: 0;
}

.notification-icon.type-ticket { color: #3b82f6; }
.notification-icon.type-info { color: var(--text-muted); }
.notification-icon.type-success { color: #10b981; }

.notification-content h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.notification-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.notification-time {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Settings */
.settings-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
}

.settings-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(119, 71, 166, 0.1);
}

.form-control:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-group small {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 6px;
}

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state svg {
    color: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Dashboard Alerts */
.dashboard-alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
}

.dashboard-alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

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

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 100%;
    max-width: 500px;
    background: var(--card-bg);
    border-radius: 20px;
    margin: 20px;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

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

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
}

/* Dashboard Responsive */
@media (max-width: 1024px) {
    .dashboard-wrapper {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        position: static;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .themes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-page {
        padding: calc(var(--header-height) + 20px) 0 40px;
    }
    
    .dashboard-section {
        padding: 24px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .ticket-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Mobile Menu Toggle - Hamburger Button */
.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    transition: all 0.3s ease;
}

/* When menu is active, position X button inside sidebar */
@media (max-width: 768px) {
    .mobile-toggle.active {
        position: fixed;
        top: 12px;
        right: 12px;
    }
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger to X Animation */
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    background: var(--hero-gradient);
    overflow: hidden;
}

/* Stars Background */
.hero-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.6;
    animation: twinkle 3s infinite;
}

.star:nth-child(2n) {
    animation-delay: 1s;
    background: var(--gray-light);
}

.star:nth-child(3n) {
    animation-delay: 2s;
    width: 2px;
    height: 2px;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Hero Theme Button */
.hero-theme-btn {
    position: absolute;
    top: 160px;
    left: 140px;
    padding: 12px 24px;
    background: var(--gray);
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 30px;
    z-index: 20;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-theme-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(119, 71, 166, 0.3);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 40px 24px;
}

/* Astronaut Background - Behind Text */
.hero-astronaut {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    z-index: 1;
    opacity: 0.25;
    pointer-events: none;
}

.hero-astronaut img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-title,
.hero-subtitle,
.hero-buttons {
    position: relative;
    z-index: 5;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--gray) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .hero-title {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    background: linear-gradient(135deg, var(--gray) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .hero-subtitle {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(119, 71, 166, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(119, 71, 166, 0.4);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ===================================
   Marquee Section
   =================================== */
.marquee-section {
    padding: 30px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.marquee-wrapper {
    display: flex;
    gap: 0;
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    gap: 0;
}

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

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 40px;
    white-space: nowrap;
}

.marquee-text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: color var(--transition-fast);
}

.marquee-text:hover {
    color: var(--primary);
}

.marquee-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===================================
   Services Section
   =================================== */
.services {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    padding: 40px 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow);
    border-color: var(--primary);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(119, 71, 166, 0.1);
    border-radius: 16px;
    margin-bottom: 24px;
    color: var(--primary);
    transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

a.service-card {
    text-decoration: none;
    display: block;
}

.service-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-link {
    opacity: 1;
    transform: translateX(0);
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--bg-secondary);
}

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

.about-content {
    max-width: 550px;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 24px;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.about-stat-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: all var(--transition-normal);
}

.about-stat-box:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.about-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.about-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.about-btn {
    margin-top: 16px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 580px;
    height: auto;
    object-fit: contain;
}

/* About Section Responsive */
@media (max-width: 1024px) {
    .about-wrapper {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content {
        max-width: 100%;
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-image img {
        max-height: 400px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   How We Work Section
   =================================== */
.how-we-work {
    background: var(--bg-tertiary);
}

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

.process-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px 24px;
    transition: all var(--transition-normal);
}

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

.process-number {
    width: 56px;
    height: 56px;
    background: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    transition: all var(--transition-normal);
}

.process-card:hover .process-number {
    background: var(--primary);
}

.process-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.process-description {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* How We Work Responsive */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .process-card {
        padding: 20px 16px;
    }
    
    .process-number {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        margin-bottom: 16px;
    }
    
    .process-title {
        font-size: 1rem;
    }
    
    .process-description {
        font-size: 0.8125rem;
    }
}

/* ===================================
   Projects Section
   =================================== */
.projects {
    background: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--gray-dark);
}

.project-card:first-child {
    grid-column: span 2;
    aspect-ratio: 21/9;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 500;
    transition: gap var(--transition-fast);
}

.project-link:hover {
    gap: 12px;
    color: var(--primary-light);
}

/* Home Projects Grid */
.projects-section {
    background: var(--bg-secondary);
}

.home-projects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.home-project-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-project-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.home-project-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.home-project-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.home-project-card.featured .home-project-image {
    aspect-ratio: auto;
    height: 260px;
}

.home-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.home-project-card:hover .home-project-image img {
    transform: scale(1.05);
}

.home-project-image .featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
}

.home-project-image .project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.home-project-info {
    padding: 16px;
}

.home-project-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.home-project-info .project-client {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.home-project-info .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.home-project-info .project-tags span {
    font-size: 0.6875rem;
    padding: 3px 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
}

.section-footer {
    text-align: center;
}

.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

@media (max-width: 1024px) {
    .home-projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .home-project-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .home-project-card.featured .home-project-image {
        height: auto;
        aspect-ratio: 16/10;
    }
}

@media (max-width: 768px) {
    .home-projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .home-project-card.featured {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .home-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .home-project-card.featured {
        grid-column: span 1;
    }
}

/* ===================================
   Themes Section
   =================================== */
.themes {
    background: var(--bg-primary);
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.theme-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.theme-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow);
}

.theme-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.theme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.theme-card:hover .theme-image img {
    transform: scale(1.05);
}

.theme-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.theme-content {
    padding: 24px;
}

.theme-category {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.theme-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.theme-description {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.theme-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.theme-price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
}

.theme-actions {
    display: flex;
    gap: 8px;
}

.theme-btn {
    padding: 10px 16px;
    font-size: 0.875rem;
    border-radius: 8px;
}

/* ===================================
   Blog Section
   =================================== */
.blog {
    background: var(--bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow);
}

.blog-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.blog-category {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.blog-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

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

.blog-excerpt {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===================================
   Technologies Section
   =================================== */
.tech-section {
    padding: 80px 0;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.tech-slider-wrapper {
    margin-top: 40px;
    padding: 20px 0;
    overflow: visible;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-slider {
    display: flex;
    gap: 40px;
    animation: techSlide 25s linear infinite;
    padding: 10px 0;
}

.tech-slide {
    flex-shrink: 0;
}

.tech-icon-box {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    transition: all var(--transition-normal);
}

.tech-icon-box:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(119, 71, 166, 0.2);
}

.tech-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes techSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(119, 71, 166, 0.15);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    color: #f59e0b;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

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

/* Responsive - Testimonials */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-icon-box {
        width: 80px;
        height: 80px;
        padding: 15px;
    }
    
    .tech-slider {
        gap: 25px;
    }
}

/* ===================================
   Footer Styles
   =================================== */
.footer {
    background: var(--bg-tertiary);
    padding: 50px 0 24px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

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

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

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

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

.footer-link {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    display: inline-block;
}

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


.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Footer Contact Links */
a.footer-contact-link {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

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

a.footer-contact-link:hover svg {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

.footer-copyright a {
    color: var(--primary);
    font-weight: 500;
}

/* ===================================
   Responsive Styles
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .services-grid,
    .themes-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .footer-brand {
        flex: 1 1 100%;
        text-align: center;
    }
    
    .footer-brand .footer-logo {
        margin: 0 auto;
    }
    
    .footer-brand .footer-description {
        max-width: 400px;
        margin: 0 auto 20px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-column {
        flex: 1;
        min-width: 120px;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --header-height: 70px;
    }
    
    /* Header Mobile - Compact Sidebar */
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 260px;
        height: 100vh;
        background: var(--card-bg);
        border-left: 1px solid var(--border-color);
        padding: 60px 0 0 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 998;
        overflow-y: auto;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    /* Overlay when menu is open */
    .nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        pointer-events: none;
    }
    
    .nav.active::before {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    /* Mobile Menu Header with Logo */
    .mobile-menu-header {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border-color);
        background: var(--bg-primary);
        flex-shrink: 0;
    }
    
    .mobile-menu-logo {
        height: 36px;
        width: auto;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        padding: 12px;
        flex: 1;
        overflow-y: auto;
    }
    
    .nav-list > li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-list > li:last-child {
        border-bottom: none;
    }
    
    /* Mobile Nav Links - Kompakt */
    .nav-link {
        display: block;
        width: 100%;
        padding: 14px 16px;
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--text-primary);
        background: transparent;
        border-radius: 0;
        text-align: left;
        border: none;
        transition: all 0.2s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(124, 58, 237, 0.1);
        color: var(--primary);
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* Mobile Dropdown Toggle - Açıkça Görünür Buton */
    .has-dropdown > .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-right: 16px;
    }
    
    .has-dropdown > .nav-link::after {
        content: '▼';
        display: inline-block;
        font-size: 0.75rem;
        transition: transform 0.3s ease;
        margin-left: auto;
    }
    
    .has-dropdown.open > .nav-link::after {
        transform: rotate(180deg);
    }
    
    .has-dropdown.open > .nav-link {
        color: var(--primary);
        background: rgba(124, 58, 237, 0.1);
    }
    
    /* Mobile Dropdown */
    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-secondary);
        border: none;
        padding: 0;
        margin: 0;
        display: none;
        border-top: 1px solid var(--border-color);
    }
    
    .has-dropdown.open > .nav-dropdown {
        display: block;
    }
    
    .nav-dropdown ul {
        padding: 0;
        margin: 0;
    }
    
    .nav-dropdown li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-dropdown li:last-child {
        border-bottom: none;
    }
    
    .dropdown-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 0.875rem;
        font-weight: 500;
        padding: 12px 16px 12px 28px;
        color: var(--text-secondary);
        background: transparent;
        border: none;
        border-radius: 0;
        margin-bottom: 0;
        transition: all 0.2s ease;
    }
    
    .dropdown-link:hover {
        color: var(--primary);
        background: rgba(124, 58, 237, 0.05);
    }
    
    /* Mobile Nested Dropdown */
    .nested-dropdown {
        position: static;
        margin-left: 0;
        margin-top: 0;
        box-shadow: none;
        border: none;
        background: var(--bg-tertiary);
        padding: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        min-width: auto;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-dropdown li.has-dropdown.open > .nested-dropdown {
        display: block;
    }
    
    .nav-dropdown li.has-dropdown > .dropdown-link::after {
        content: '▶';
        font-size: 0.625rem;
        transition: transform 0.3s ease;
    }
    
    .nav-dropdown li.has-dropdown.open > .dropdown-link::after {
        transform: rotate(90deg);
    }
    
    .nav-dropdown .submenu-arrow {
        display: none;
    }
    
    .nested-dropdown .dropdown-link {
        padding-left: 44px;
        font-size: 0.8125rem;
        color: var(--text-muted);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    /* BB8 Toggle Mobile */
    .bb8-toggle {
        --toggle-size: 4px;
    }
    
    /* Hero Mobile */
    .hero {
        min-height: calc(100svh - var(--header-height) - 80px);
        padding-bottom: 20px;
    }
    
    .hero-theme-btn {
        top: 90px;
        left: 20px;
        padding: 10px 18px;
        font-size: 0.75rem;
    }
    
    .hero-content {
        padding: 15px 20px 20px;
    }
    
    .hero-astronaut {
        width: 200px;
        height: 200px;
        opacity: 0.35;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-top: 20px;
    }
    
    .hero-buttons .btn {
        padding: 14px 24px;
        font-size: 0.9375rem;
    }
    
    /* Grids */
    .services-grid,
    .projects-grid,
    .themes-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card:first-child {
        grid-column: span 1;
        aspect-ratio: 16/10;
    }
    
    /* Footer Mobile - Sadece Logo ve Sosyal Medya */
    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-brand .footer-logo {
        height: 45px;
    }
    
    .footer-brand .footer-description {
        max-width: 300px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* Hide all footer columns on mobile except brand */
    .footer-column {
        display: none !important;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        margin-top: 24px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    :root {
        --section-padding: 50px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card,
    .theme-content,
    .blog-content {
        padding: 24px 20px;
    }
    
    .marquee-text {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .marquee-item {
        gap: 24px;
        padding: 0 24px;
    }
    
    /* Hero Very Small Mobile */
    .hero-astronaut {
        width: 180px;
        height: 180px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
    }
    
    .hero-buttons .btn {
        padding: 10px 14px;
        font-size: 0.75rem;
    }
    
    /* About Very Small Mobile */
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .about-stat-box {
        padding: 16px 12px;
    }
    
    .about-stat-number {
        font-size: 1.75rem;
    }
    
    /* Footer Small Mobile */
    .footer {
        padding: 30px 0 16px;
    }
    
    .footer-brand .footer-logo {
        height: 36px;
    }
    
    .footer-brand .footer-description {
        font-size: 0.8125rem;
        max-width: 260px;
    }
    
    .social-link {
        width: 34px;
        height: 34px;
    }
    
    .social-link svg {
        width: 15px;
        height: 15px;
    }
    
    .footer-bottom {
        margin-top: 20px;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden { display: none !important; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(119, 71, 166, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 100;
}

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

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(119, 71, 166, 0.5);
}

/* ===================================
   Mobile Bottom Navigation
   =================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-bottom-nav {
    display: none;
    grid-template-columns: repeat(5, 1fr);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    color: var(--text-muted);
    font-size: 0.625rem;
    font-weight: 500;
    text-align: center;
    transition: color 0.3s;
}

.mobile-nav-item svg {
    width: 22px;
    height: 22px;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--primary);
}

.mobile-nav-item span {
    white-space: nowrap;
}

/* Mobile Nav Profile Avatar */
.mobile-nav-avatar {
    position: relative;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
}

.mobile-nav-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: #ef4444;
    color: white;
    font-size: 0.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--card-bg);
}

.mobile-nav-login svg {
    color: var(--primary);
}

/* Desktop Only Class */
.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    /* Show mobile bottom nav */
    .mobile-bottom-nav {
        display: grid;
    }
    
    /* Hide desktop-only elements */
    .desktop-only {
        display: none !important;
    }
    
    /* Adjust scroll-top button for bottom nav */
    .scroll-top {
        bottom: 90px;
    }
    
    /* Add padding to body for bottom nav */
    body {
        padding-bottom: 70px;
    }
    
    /* Footer padding for bottom nav */
    .footer {
        padding-bottom: 80px;
    }
}

.scroll-top svg {
    width: 24px;
    height: 24px;
}

/* Loading State */
.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===================================
   Service Detail Page
   =================================== */
/* Service Hero - Ana stiller service-page.css'te */

.service-hero-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-hero-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.service-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.service-hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* service-hero-image stili service-page.css'te */

/* Service Layout */
.service-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

/* Sidebar */
.service-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    align-self: start;
}

.sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar-link:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.sidebar-link.active {
    background: var(--primary);
    color: white;
}

.sidebar-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sidebar-icon svg {
    width: 100%;
    height: 100%;
}

.sidebar-arrow {
    margin-left: auto;
    opacity: 0;
    transition: opacity 0.2s;
}

.sidebar-link:hover .sidebar-arrow {
    opacity: 1;
}

.sidebar-link.active .sidebar-arrow {
    opacity: 1;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    text-align: center;
    color: white;
}

.sidebar-cta h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.sidebar-cta p {
    font-size: 0.9375rem;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.6;
}

.sidebar-cta .btn {
    background: white;
    color: var(--primary);
}

.sidebar-cta .btn:hover {
    background: var(--bg-secondary);
}

.btn-block {
    width: 100%;
}

/* Subcategories */
.subcategories-section {
    margin-bottom: 60px;
}

.section-title-left {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.subcategory-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    transition: all 0.3s;
}

.subcategory-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--card-shadow);
}

.subcategory-number {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.subcategory-card:hover .subcategory-number {
    background: var(--primary);
    color: white;
}

.subcategory-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.subcategory-description {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Rich Content */
.service-rich-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
}

.service-rich-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.service-rich-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.content-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 12px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(119, 71, 166, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.feature-content h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.feature-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

/* Service CTA */
.service-cta {
    background: var(--bg-tertiary);
}

.cta-box {
    background: linear-gradient(135deg, var(--gray) 0%, var(--gray-dark) 100%);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

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

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--gray-dark);
}

/* Service Page Responsive */
@media (max-width: 1024px) {
    .service-layout {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .sidebar-card,
    .sidebar-cta {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .service-sidebar {
        grid-template-columns: 1fr;
    }
    
    .subcategories-grid {
        grid-template-columns: 1fr;
    }
    
    .service-rich-content {
        padding: 28px;
    }
    
    .cta-box {
        padding: 40px 24px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto;
    }
}

/* ====================================
   NEW HOMEPAGE SECTIONS STYLES
   ==================================== */

/* Section Title Large */
.section-title-lg {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

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

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Projects Grid New */
.projects-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.project-card-new {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card-new:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.15);
}

.project-image-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card-new:hover .project-image-wrapper img {
    transform: scale(1.05);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gray) 100%);
}

.project-overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-overlay-btn:hover {
    background: #5c3485;
}

.project-card-new:hover .project-overlay-btn {
    opacity: 1;
}

.project-info {
    padding: 24px;
}

.project-cat {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.project-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.project-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-badge {
    font-size: 0.6875rem;
    padding: 4px 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-muted);
}

/* Button Outline Dark */
.btn-outline-dark {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Theme Filter Tabs */
.theme-filter-tabs {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Themes Grid New */
.themes-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.theme-card-new {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.theme-card-new:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
}

.theme-img-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--bg-tertiary);
}

.theme-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.theme-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.theme-featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
}

.theme-info-new {
    padding: 24px;
}

.theme-cat-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.theme-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.theme-desc-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.theme-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.theme-tech-tags span {
    font-size: 0.6875rem;
    padding: 4px 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-muted);
}

.theme-bottom {
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.theme-price-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.download-count {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.theme-btns {
    display: flex;
    gap: 10px;
}

.btn-theme-detail {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-theme-detail:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-theme-buy {
    flex: 1;
    padding: 10px 16px;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-theme-buy:hover {
    background: #5c3485;
}

/* Blog Grid New */
.blog-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.blog-card-new {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card-new:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
}

.blog-link-new {
    text-decoration: none;
    display: block;
}

.blog-img-wrapper {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card-new:hover .blog-img-wrapper img {
    transform: scale(1.05);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gray) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.blog-info-new {
    padding: 24px;
}

.blog-meta-new {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.blog-date-icon,
.blog-author-icon {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.blog-cat-badge {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-title-new {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-excerpt-new {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

/* Section Footer */
.section-footer {
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 1024px) {
    .projects-grid-new,
    .themes-grid-new,
    .blog-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid-new,
    .themes-grid-new,
    .blog-grid-new {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-tab {
        flex-shrink: 0;
    }
}

/* ===================================
   WhatsApp Floating Button
   =================================== */
.whatsapp-float {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(119, 71, 166, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(119, 71, 166, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile - WhatsApp butonu navigasyonun üstünde */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 90px;
        left: 16px;
        width: 54px;
        height: 54px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* ===================================
   Site Popup
   =================================== */
.site-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.site-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.popup-content {
    position: relative;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.site-popup.active .popup-content {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background: var(--primary);
    color: white;
}

.popup-close svg {
    width: 20px;
    height: 20px;
}

.popup-image {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
}

.popup-image img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
}

.popup-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.popup-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.popup-btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(119, 71, 166, 0.3);
}

@media (max-width: 480px) {
    .popup-content {
        padding: 30px 24px;
    }
    
    .popup-title {
        font-size: 1.25rem;
    }
    
    .popup-text {
        font-size: 0.9375rem;
    }
}

