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

:root{
    --bg: #050713;
    --panel: rgba(10, 18, 38, .78);
    --panel2: rgba(255, 255, 255, .06);
    --border: rgba(255, 255, 255, .13);
    --text: #eef6ff;
    --muted: #94a3b8;
    --accent: #10d7ff;
    --accent2: #a855f7;
    --green: #10a37f;
    --danger: #ff2d55;
    /* "Premium" qradient artıq düz mavi rəng — qradient effekti söndürüldü */
    --gradient-premium: #10d7ff;
    --brand: #10d7ff;
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html, body { height: 100%; width: 100%; overflow: hidden; overflow-x: hidden; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    overflow: hidden;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    /* iOS tap highlight tamamilə şəffaf — düymələrin "yanıb-sönmə" effekti təbii görünsün */
    -webkit-tap-highlight-color: transparent;
    /* iOS Safari-də keçid (pull-to-refresh) və over-scroll qarşısı */
    overscroll-behavior: none;
    touch-action: manipulation;
}

/* Bütün interaktiv elementlər üçün tap-highlight şəffaf */
button, a, [role="button"] { -webkit-tap-highlight-color: transparent; }

body::before {
    content: "";
    position: fixed; inset: 0;
    background:
        radial-gradient(circle at 20% 8%, rgba(16, 215, 255, .22), transparent 34%),
        radial-gradient(circle at 80% 12%, rgba(16, 215, 255, .20), transparent 34%),
        radial-gradient(circle at 50% 90%, rgba(16, 215, 255, .14), transparent 40%);
    z-index: -4;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed; inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(3, 7, 18, .15) 50%, rgba(3, 7, 18, .78) 100%);
    z-index: -1;
    pointer-events: none;
}

/* ========= AURORA VIDEO (hələlik söndürüldü) ========= */
.bg-video { display: none; }
.bg-overlay { display: none; }

/* ========= MATRIX RAIN ========= */
.matrix {
    position: fixed; inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: .7;
    mix-blend-mode: screen;
    z-index: -3;
}

/* Mobil və tabletdə matrix yağışı və grid göstərmirik — diqqəti yayındırır */
@media (max-width: 900px) {
    .matrix,
    .grid-overlay { display: none !important; }
}

.rain {
    position: absolute;
    top: -120vh;
    white-space: pre;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    line-height: .88;
    text-align: center;
    text-shadow: 0 0 10px currentColor, 0 0 25px currentColor;
    animation: rain linear infinite;
    filter: blur(0.6px);
}

@keyframes rain { to { transform: translateY(240vh); } }

/* ========= GRID ========= */
.grid-overlay {
    position: fixed; inset: 0;
    background-image:
        linear-gradient(to right, rgba(16, 215, 255, .12) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(16, 215, 255, .12) 1px, transparent 1px);
    background-size: 70px 70px;
    opacity: .4;
    z-index: -2;
    pointer-events: none;
}

/* ========= LOADER ========= */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 7, 19, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: loaderFadeOut 0.8s var(--ease-premium) 2.8s forwards;
    pointer-events: all;
}

@keyframes loaderFadeOut {
    to { opacity: 0; visibility: hidden; backdrop-filter: blur(0); }
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    animation: loaderContentOut 0.6s var(--ease-premium) 2.4s forwards;
}

@keyframes loaderContentOut {
    to { opacity: 0; transform: scale(0.92) translateY(-10px); }
}

.loader-logo-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: loaderLogoIn 1s var(--ease-bounce) forwards;
    opacity: 0;
    transform: scale(0.5);
}

@keyframes loaderLogoIn { to { opacity: 1; transform: scale(1); } }

.loader-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 10px 40px rgba(16, 215, 255, 0.5)) drop-shadow(0 0 20px rgba(168, 85, 247, 0.4));
    animation: logoFloat 2.5s ease-in-out infinite;
    z-index: 2;
}

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

.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent);
    border-right-color: var(--accent);
    animation: loaderRingRotate 1.5s linear infinite;
    box-shadow: 0 0 30px rgba(16, 215, 255, 0.4);
}

.loader-ring::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-bottom-color: var(--accent);
    border-left-color: var(--accent);
    animation: loaderRingRotate 2s linear infinite reverse;
    opacity: 0.5;
}

@keyframes loaderRingRotate { to { transform: rotate(360deg); } }

.loader-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: loaderTextIn 0.8s var(--ease-premium) 0.4s forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes loaderTextIn { to { opacity: 1; transform: translateY(0); } }

.loader-bar {
    width: 180px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: loaderTextIn 0.6s var(--ease-premium) 0.6s forwards;
}

.loader-bar span {
    display: block;
    height: 100%;
    width: 30%;
    background: var(--accent);
    border-radius: 2px;
    animation: loaderProgress 2s var(--ease-premium) 0.6s forwards;
    box-shadow: 0 0 12px rgba(16, 215, 255, 0.5);
}

@keyframes loaderProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ========= APP LAYOUT ========= */
.app {
    height: 100vh;
    /* iOS Safari və Chrome mobilin dinamik toolbar-ı 100vh-nı yanlış hesablayır.
       100dvh dinamik viewport-u nəzərə alır, beləcə composer klaviatura/toolbar
       altına düşmür */
    height: 100dvh;
    width: 100%;
    max-width: 100vw;
    display: flex;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

/* ========= SIDEBAR (saxlanılır — sənin istədiyin kimi) ========= */
.sidebar {
    width: 280px;
    background: rgba(5, 10, 24, .7);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: margin-left 0.4s var(--ease-premium);
    border-right: 1px solid var(--border);
}

.sidebar.collapsed { margin-left: -280px; }

.sidebar-top {
    padding: 16px 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 6px 8px 14px;
}

.brand-mark {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--gradient-premium);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(16, 215, 255, 0.4);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.brand-text {
    font-weight: 700;
    font-size: 15px;
}

.brand-text span { color: var(--accent); }

.new-chat {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 11px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.3s var(--ease-premium);
    position: relative;
    overflow: hidden;
}

.new-chat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-premium);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.new-chat:hover {
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(16, 215, 255, 0.4);
    color: white;
}

.new-chat:hover::before { opacity: 1; }

/* "Yeni söhbət" düyməsi müvəqqəti gizlədilib — class silməklə yenidən aktiv olur */
.new-chat-hidden { display: none !important; }

/* New-chat gizlədiləndə brand altı boşluq da azaldılsın */
.sidebar-top:has(.new-chat-hidden) { padding-bottom: 6px; }
.sidebar-top:has(.new-chat-hidden) .brand { padding-bottom: 4px; }

/* Söhbət header-i artıq say göstərmir — kompakt görünüş */
.chats-count { display: none !important; }
.chats-header { padding-bottom: 8px; margin-bottom: 4px; }

/* SÖHBƏTLƏR */
.sidebar-chats {
    flex: 1;
    overflow-y: auto;
    padding: 14px 10px 10px;
}

.sidebar-chats::-webkit-scrollbar { width: 4px; }
.sidebar-chats::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.chats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 12px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 8px;
}

.chats-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.chats-title svg { color: var(--accent); }

.chats-count {
    background: var(--gradient-premium);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(16, 215, 255, 0.4);
}

.chats-group { margin-bottom: 14px; }

.chats-label {
    font-size: 10.5px;
    color: var(--muted);
    padding: 8px 10px 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.chat-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 11px;
    transition: all 0.25s var(--ease-premium);
    font-family: inherit;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.chat-card:hover {
    background: rgba(16, 215, 255, 0.08);
    border-color: rgba(16, 215, 255, 0.3);
    transform: translateX(2px);
}

.chat-card.active {
    background: rgba(16, 215, 255, 0.15);
    border-color: rgba(16, 215, 255, 0.35);
    box-shadow: 0 4px 16px -4px rgba(16, 215, 255, 0.3);
}

.chat-card-icon {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.chat-card.active .chat-card-icon {
    background: rgba(16, 215, 255, 0.15);
    border-color: rgba(16, 215, 255, 0.3);
}

.chat-card-body { flex: 1; min-width: 0; }

.chat-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-card-preview {
    font-size: 11.5px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-card-time {
    font-size: 10.5px;
    color: var(--muted);
    flex-shrink: 0;
}

/* BÖLMƏLƏR */
.sidebar-sections {
    padding: 10px 10px 12px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.15);
}

.sections-label {
    font-size: 10.5px;
    color: var(--muted);
    padding: 4px 10px 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.nav-section { display: flex; flex-direction: column; gap: 2px; }

.nav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 12px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 12.5px;
    color: var(--muted);
    transition: all 0.25s var(--ease-premium);
    background: transparent;
    border: 1px solid transparent;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-weight: 500;
    position: relative;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-color: var(--border);
    transform: translateX(2px);
}

.nav-item.active {
    background: rgba(16, 215, 255, 0.15);
    color: var(--accent);
    border-color: rgba(16, 215, 255, 0.3);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--gradient-premium);
    border-radius: 0 2px 2px 0;
}

.nav-item svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    opacity: 0.7;
}

.sidebar-bottom {
    padding: 10px;
    border-top: 1px solid var(--border);
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 13px;
}

.user-pill:hover { background: rgba(255, 255, 255, 0.05); }

.user-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 13px;
}

/* ========= MAIN ========= */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    background: rgba(5, 7, 19, 0.02);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
}

.topbar {
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.icon-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text);
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-btn:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--border); }

.model-pill {
    font-weight: 600;
    font-size: 16px;
    padding: 7px 14px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--accent);
    border: 1px solid rgba(16, 215, 255, 0.2);
    background: rgba(16, 215, 255, 0.08);
}

.model-arrow { font-size: 10px; margin-left: 2px; opacity: 0.7; }

.topbar-spacer { flex: 1; }

/* ========= CHAT AREA ========= */
.chat-area {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 34px 34px 20px;
    scroll-behavior: smooth;
}

.chat-area::-webkit-scrollbar { width: 8px; }
.chat-area::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ========= WELCOME ========= */
.welcome {
    min-height: 55vh;
    display: grid;
    place-items: center;
    text-align: center;
}

.welcome-card { max-width: 850px; }

.pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid rgba(16, 215, 255, 0.3);
    background: rgba(16, 215, 255, 0.08);
    border-radius: 999px;
    color: #cffafe;
    font-size: 13px;
    backdrop-filter: blur(10px);
}

.welcome h1, .welcome h2 {
    font-size: clamp(42px, 7vw, 84px);
    line-height: .95;
    margin: 22px 0;
    background: linear-gradient(90deg, #fff, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: -1px;
}

.welcome p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 650px;
}

.welcome-logo { display: none; }

.prompt-grid, .quick {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

/* Welcome xidmət kartları — 2 sıralı simmetrik yerləşmə (4 + 3 mərkəzlənmiş)
   max-width genişləndirildi ki, daha uzun tərcümələrdə (RU "Мобильное приложение",
   "Программные решения") də 4 kart bir sıraya sığsın */
.prompt-grid {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}
.prompt-grid .prompt-card {
    min-width: 180px;
    justify-content: center;
}

@media (max-width: 768px) {
    .prompt-grid { max-width: 100%; }
    .prompt-grid .prompt-card { min-width: 0; }
}

.prompt-card, .quick button {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border-radius: 999px;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.25s var(--ease-premium);
    backdrop-filter: blur(10px);
}

.prompt-card { display: inline-flex; align-items: center; gap: 8px; }
.prompt-card .prompt-icon {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    color: var(--accent);
}
.prompt-card .prompt-icon .icon { width: 20px; height: 20px; }
.chat-card-icon .icon { width: 18px; height: 18px; }
.prompt-card .prompt-desc { display: none; }

.prompt-card:hover, .quick button:hover {
    background: rgba(16, 215, 255, 0.15);
    border-color: rgba(16, 215, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 215, 255, 0.2);
}

/* ========= MESSAGES ========= */
.msg-row {
    margin: 18px 0;
    animation: msgIn .45s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes msgIn {
    from { opacity: 0; transform: translateY(28px) scale(.98); filter: blur(10px); }
    to { opacity: 1; transform: none; filter: none; }
}

.msg-row.user .msg-inner { margin-left: auto; flex-direction: row-reverse; }

.msg-inner {
    display: flex;
    gap: 12px;
    max-width: 1050px;
    margin: 0 auto;
}

.msg-avatar {
    width: 38px; height: 38px;
    border-radius: 14px;
    background: var(--accent);
    display: grid;
    place-items: center;
    color: #00101a;
    font-weight: 900;
    flex: 0 0 auto;
    box-shadow: 0 4px 16px rgba(16, 215, 255, 0.3);
    overflow: hidden;
}

.msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.msg-row.user .msg-avatar {
    background: linear-gradient(135deg, #fff, #93c5fd);
}

.brand-mark { overflow: hidden; }
.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.msg-body {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 16px 18px;
    line-height: 1.6;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
    backdrop-filter: blur(16px);
    flex: 1;
    min-width: 0;
    max-width: 100%;
    color: var(--text);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.msg-name {
    font-size: 12px;
    color: #67e8f9;
    margin-bottom: 5px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.typing-dots span {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    margin: 0 3px;
    animation: dot 1s infinite;
    box-shadow: 0 0 10px var(--accent);
}

.typing-dots span:nth-child(2) { animation-delay: .15s; }
.typing-dots span:nth-child(3) { animation-delay: .3s; }

@keyframes dot { 50% { transform: translateY(-5px); opacity: .5; } }

/* ========= PROJECTS ========= */
.projects-intro {
    font-size: 16px;
    color: #dbeafe;
    margin-bottom: 10px;
}

.projects-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(16, 215, 255, 0.08);
    border: 1px solid rgba(16, 215, 255, 0.2);
}

.scroll-tip {
    color: #67e8f9;
    font-weight: 600;
}

.scroll-indicator-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #67e8f9;
    font-size: 13px;
    margin: 20px 0;
    padding: 12px;
    border: 1px dashed rgba(16, 215, 255, 0.3);
    border-radius: 14px;
    background: rgba(16, 215, 255, 0.04);
    animation: bounceTip 1.6s infinite;
}

@keyframes bounceTip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    perspective: 1500px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(16px) saturate(160%);
    border-radius: 26px;
    min-height: 340px;
    padding: 16px;
    transition: all 0.4s var(--ease-premium);
    opacity: 0;
    transform-style: preserve-3d;
    will-change: transform;
}

/* 6 PREMIUM ANIMATION */
.anim-slide-left { animation: slideLeftIn 0.75s var(--ease-bounce) var(--delay, 0s) forwards; }
@keyframes slideLeftIn {
    0% { opacity: 0; transform: translateX(-60px) scale(0.85) rotate(-3deg); filter: blur(8px); }
    60% { opacity: 1; filter: blur(0); }
    100% { opacity: 1; transform: translateX(0) scale(1) rotate(0); filter: blur(0); }
}

.anim-slide-right { animation: slideRightIn 0.75s var(--ease-bounce) var(--delay, 0s) forwards; }
@keyframes slideRightIn {
    0% { opacity: 0; transform: translateX(60px) scale(0.85) rotate(3deg); filter: blur(8px); }
    60% { opacity: 1; filter: blur(0); }
    100% { opacity: 1; transform: translateX(0) scale(1) rotate(0); filter: blur(0); }
}

.anim-flip-in { animation: flipYIn 0.8s var(--ease-premium) var(--delay, 0s) forwards; transform-origin: center bottom; }
@keyframes flipYIn {
    0% { opacity: 0; transform: perspective(1000px) rotateY(-50deg) scale(0.9); }
    100% { opacity: 1; transform: perspective(1000px) rotateY(0) scale(1); }
}

.anim-zoom-rotate { animation: zoomRotateIn 0.7s var(--ease-bounce) var(--delay, 0s) forwards; }
@keyframes zoomRotateIn {
    0% { opacity: 0; transform: scale(0.5) rotate(-8deg); filter: blur(10px); }
    100% { opacity: 1; transform: scale(1) rotate(0); filter: blur(0); }
}

.anim-fade-up-blur { animation: fadeUpBlur 0.75s var(--ease-premium) var(--delay, 0s) forwards; }
@keyframes fadeUpBlur {
    0% { opacity: 0; transform: translateY(60px); filter: blur(15px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.anim-swing-in { animation: swingIn 0.8s var(--ease-bounce) var(--delay, 0s) forwards; transform-origin: top center; }
@keyframes swingIn {
    0% { opacity: 0; transform: perspective(1000px) rotateX(-40deg) translateY(-20px); }
    100% { opacity: 1; transform: perspective(1000px) rotateX(0) translateY(0); }
}

.project-card:hover {
    border-color: rgba(16, 215, 255, 0.4);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(16, 215, 255, 0.15);
}

.project-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 26px;
}

/* ===== Layihə şəkli/başlığı linki (klikləndikdə sayt açılır) ===== */
a.project-visual-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}
a.project-visual-link::before {
    content: '↗';
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 3;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(7, 17, 31, 0.85);
    color: #67e8f9;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-4px) scale(0.7);
    transition: all 0.3s var(--ease-bounce);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(16, 215, 255, 0.3);
    backdrop-filter: blur(8px);
}
a.project-visual-link:hover::before {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.project-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer;
    display: inline-block;
}
.project-title-link:hover {
    color: #67e8f9;
}
.project-title-link::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.4s var(--ease-bounce);
}
.project-title-link:hover::after {
    width: 100%;
}

/* ===== Layihə kart şəkli (img və ya placeholder) ===== */
.project-image {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 14px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.32), inset 0 0 0 1px rgba(255,255,255,0.06);
    isolation: isolate;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.55s var(--ease-premium);
}

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

/* Şəkil yüklənməyibsə (onerror) — placeholder kimi davransın */
.project-image.image-failed img { display: none; }
.project-image.image-failed::after {
    content: 'Şəkil tapılmadı';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Placeholder: kamera ikon + başlıq + diaqonal parıltı */
.project-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.92);
}

.project-image.placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 60%),
        linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.10) 50%, transparent 60%);
    pointer-events: none;
}

.project-image-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px;
    text-align: center;
    z-index: 1;
}

.project-image-inner svg {
    width: 38px;
    height: 38px;
    opacity: 0.72;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}

.project-image-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
    color: #fff;
}

.project-info {
    position: relative;
    z-index: 2;
}

.project-info h3 {
    margin: 10px 0 6px;
    font-size: 22px;
    font-weight: 700;
}

.project-info p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.project-sub {
    font-size: 12px;
    color: #67e8f9;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.project-tag {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(16, 215, 255, .1);
    border: 1px solid rgba(16, 215, 255, .18);
    color: #cffafe;
    font-weight: 600;
}

/* ========= MOCKUPS ========= */
.mockup {
    height: 165px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    padding: 10px;
    margin-bottom: 14px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 8px 24px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.browser-bar {
    height: 27px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .25);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 9px;
}

.browser-bar span {
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
    opacity: .7;
}

.browser-bar span:nth-child(1) { background: #ff5f56; opacity: 1; }
.browser-bar span:nth-child(2) { background: #ffbd2e; opacity: 1; }
.browser-bar span:nth-child(3) { background: #27c93f; opacity: 1; }

.browser-url {
    margin-left: 8px;
    font-size: 10px;
    color: rgba(255, 255, 255, .75);
}

.browser-content, .phone-screen {
    height: 118px;
    margin-top: 8px;
    border-radius: 14px;
    background: rgba(3, 7, 18, .7);
    overflow: hidden;
    padding: 12px;
}

.ec-header, .cp-grid, .rs-menu, .re-cards, .ed-stats, .an-stats {
    display: flex;
    gap: 8px;
}

.ec-header { align-items: center; }
.ec-logo { width: 80px; height: 14px; background: #fff; border-radius: 8px; opacity: .9; }
.ec-nav { margin-left: auto; display: flex; gap: 5px; }
.ec-nav span, .cp-cell, .rs-item, .re-cards div, .ed-stats i { background: rgba(255, 255, 255, .25); border-radius: 8px; }
.ec-nav span { width: 20px; height: 8px; }
.ec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.ec-prod { background: rgba(255, 255, 255, .1); border-radius: 12px; padding: 7px; }
.ec-img { height: 42px; background: linear-gradient(135deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .15)); border-radius: 10px; }
.ec-meta i, .ec-meta b { display: block; height: 7px; background: rgba(255, 255, 255, .35); border-radius: 8px; margin-top: 6px; }
.ec-meta b { width: 50%; background: rgba(255, 255, 255, .6); }

.cp-hero { height: 72px; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .05)); padding: 13px; }
.cp-title, .cp-sub, .cp-btn { height: 10px; border-radius: 8px; background: #fff; opacity: .75; margin-bottom: 9px; }
.cp-title { width: 55%; }
.cp-sub { width: 75%; opacity: .4; }
.cp-btn { width: 32%; background: var(--c1); opacity: 1; }
.cp-grid { margin-top: 10px; }
.cp-cell { height: 32px; flex: 1; }

.rs-hero { display: flex; gap: 10px; margin-bottom: 8px; align-items: center; }
.rs-plate { width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--c1), var(--c2)); flex-shrink: 0; }
.rs-text { flex: 1; }
.rs-line { height: 6px; background: rgba(255, 255, 255, 0.7); border-radius: 3px; margin-bottom: 4px; }
.rs-line.short { width: 60%; opacity: 0.4; }
.rs-btn { height: 8px; width: 40%; background: var(--c1); border-radius: 3px; margin-top: 4px; }
.rs-menu { margin-top: 8px; }
.rs-item { flex: 1; height: 22px; border-left: 2px solid var(--c1); background: rgba(255, 255, 255, 0.08); border-radius: 4px; }

.phone-frame {
    width: 84px;
    height: 145px;
    margin: auto;
    border-radius: 24px;
    background: #07111f;
    padding: 7px;
    border: 3px solid rgba(255, 255, 255, .5);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.phone-notch {
    width: 34px; height: 6px;
    background: #000;
    border-radius: 999px;
    margin: 0 auto 5px;
}

.phone-screen { height: 119px; margin: 0; padding: 8px; background: linear-gradient(160deg, var(--c1), var(--c2)); }

.ig-bar { display: flex; gap: 7px; align-items: center; }
.ig-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--c1); border: 2px solid white; }
.ig-name { width: 40px; height: 7px; background: #fff; border-radius: 8px; opacity: .7; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 10px; }
.ig-grid div { height: 24px; background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1)); border-radius: 6px; }
.ig-tabs { display: flex; justify-content: space-around; margin-top: 8px; }
.ig-tabs span { width: 12px; height: 4px; background: #fff; border-radius: 5px; opacity: .4; }
.ig-tabs span:first-child { opacity: 1; }

.tt-video { width: 100%; height: 100%; position: relative; }
.tt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; background: rgba(255, 255, 255, 0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 11px; backdrop-filter: blur(4px); }
.tt-side { position: absolute; right: 4px; bottom: 30px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.tt-circle { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, #ff0050, #00f2ea); border: 1px solid white; }
.tt-icon { color: white; font-size: 9px; }
.tt-info { position: absolute; bottom: 6px; left: 6px; right: 30px; }
.tt-info div { height: 3px; background: rgba(255, 255, 255, 0.7); border-radius: 1px; margin-bottom: 2px; }
.tt-info div.short { width: 60%; }

.ma-status { display: flex; gap: 3px; margin-bottom: 6px; padding: 0 4px; }
.ma-status i { width: 10px; height: 4px; background: white; border-radius: 1px; opacity: 0.8; }
.ma-header { padding: 0 4px; margin-bottom: 8px; }
.ma-greet { height: 5px; background: rgba(255, 255, 255, 0.9); border-radius: 2px; margin-bottom: 3px; width: 70%; }
.ma-greet.short { width: 45%; opacity: 0.5; }
.ma-card { height: 32px; background: rgba(0, 0, 0, 0.3); border-radius: 8px; margin-bottom: 6px; position: relative; overflow: hidden; }
.ma-card-bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent); }
.ma-list { display: flex; flex-direction: column; gap: 4px; }
.ma-row { display: flex; gap: 6px; align-items: center; padding: 4px; background: rgba(0, 0, 0, 0.25); border-radius: 5px; }
.ma-ico { width: 12px; height: 12px; background: rgba(255, 255, 255, 0.5); border-radius: 3px; }
.ma-txt { flex: 1; }
.ma-txt i, .ma-txt b { display: block; border-radius: 1px; }
.ma-txt i { height: 3px; background: rgba(255, 255, 255, 0.8); width: 70%; margin-bottom: 2px; }
.ma-txt b { height: 2px; background: rgba(255, 255, 255, 0.4); width: 40%; }

.mockup-ads { display: flex; flex-direction: column; padding: 16px; }
.ad-label { font-size: 9px; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; font-weight: 700; }
.ad-chart { flex: 1; display: flex; align-items: flex-end; gap: 6px; padding: 4px 0; justify-content: center; }
.ad-bar { width: 18px; background: rgba(255, 255, 255, 0.85); border-radius: 4px 4px 0 0; box-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
.ad-stat { text-align: center; font-weight: 900; color: #fff; font-size: 14px; margin-top: 6px; text-shadow: 0 0 12px rgba(255, 255, 255, 0.5); }

.mockup-logo { display: grid; place-items: center; padding: 14px; gap: 10px; }
.lg-mark { width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 255, 255, 0.15); display: grid; place-items: center; font-size: 22px; font-weight: 900; color: white; letter-spacing: 1px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 6px 20px rgba(0,0,0,0.3); }
.lg-palette { display: flex; gap: 5px; }
.lg-palette span { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }

.mockup-analytics { padding: 14px; display: flex; flex-direction: column; }
.an-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.an-title { height: 6px; width: 60%; background: rgba(255, 255, 255, 0.7); border-radius: 2px; }
.an-badge { font-size: 10px; color: white; background: rgba(255, 255, 255, 0.2); padding: 3px 9px; border-radius: 6px; font-weight: 700; }
.an-chart { flex: 1; width: 100%; max-height: 90px; }

/* ========= PRICING ========= */
.pricing-section {
    margin-top: 25px;
    border-top: 1px solid var(--border);
    padding-top: 22px;
}

.pricing-header { text-align: center; margin-bottom: 22px; }

.pricing-title {
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(90deg, #fff, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 6px;
}

.pricing-subtitle {
    color: var(--muted);
    margin: 6px 0 0;
    font-size: 14px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.price-card {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 22px;
    position: relative;
    opacity: 0;
    transition: all 0.3s var(--ease-premium);
    display: flex;
    flex-direction: column;
}

/* Sifariş ver düyməsi həmişə kartın aşağısında dayanır (xüsusiyyət sayı fərqli olsa belə) */
.price-card .price-cta { margin-top: auto; }

/* ===== HOSTING özəl kartı (chat-type cavab daxilində) ===== */
.hosting-card {
    background: linear-gradient(160deg, rgba(16, 215, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(16, 215, 255, 0.45);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 0 40px rgba(16, 215, 255, 0.12);
    max-width: 460px;
    margin-top: 12px;
    backdrop-filter: blur(16px);
}

.hosting-head h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.4px;
    text-shadow: 0 2px 8px rgba(16, 215, 255, 0.3);
}

.hosting-head p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.hosting-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    padding: 14px 0 18px;
    border-bottom: 1px dashed rgba(16, 215, 255, 0.25);
    margin-bottom: 14px;
}

.hosting-price-num {
    font-size: 44px;
    font-weight: 900;
    background: var(--accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(16, 215, 255, 0.35);
    line-height: 1;
}

.hosting-price-unit {
    font-size: 16px;
    font-weight: 700;
    color: #67e8f9;
    letter-spacing: 0.4px;
}
.hosting-price-unit small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 2px;
}

.hosting-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hosting-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.4;
}

.hosting-features li::before {
    content: '✓';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: #00101a;
    font-weight: 900;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(16, 215, 255, 0.4);
}

.hosting-cta {
    margin-top: 18px;
    width: 100%;
    border: 0;
    background: var(--accent);
    color: #00101a;
    border-radius: 16px;
    padding: 14px;
    font-weight: 900;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.25s var(--ease-bounce);
    box-shadow: 0 8px 24px rgba(16, 215, 255, 0.35);
}
.hosting-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(16, 215, 255, 0.55);
}

/* ===== "Digər xidmətlər" sondakı panel ===== */
.more-services-row {
    margin: 24px auto 40px;
    padding: 18px 22px;
    max-width: 820px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px dashed rgba(16, 215, 255, 0.3);
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    animation: moreServicesIn 0.6s var(--ease-premium) forwards;
}

@keyframes moreServicesIn {
    0%   { opacity: 0; transform: translateY(14px); }
    100% { opacity: 1; transform: translateY(0); }
}

.more-services-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #c8fbff;
    margin-bottom: 12px;
    text-transform: none;
    background: linear-gradient(90deg, #fff, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.more-services-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
}

.more-services-buttons .info-quick {
    padding: 8px 14px;
    font-size: 12.5px;
}

@media (max-width: 768px) {
    .more-services-row { margin: 16px 8px 24px; padding: 14px 12px; }
    .more-services-buttons .info-quick { padding: 7px 11px; font-size: 12px; }
}

@media (max-width: 768px) {
    .hosting-card { padding: 18px; }
    .hosting-price-num { font-size: 36px; }
    .hosting-features li { font-size: 13px; }
}

.anim-pricing-in {
    animation: pricingCardIn 0.75s var(--ease-bounce) var(--pdelay, 0s) forwards;
    transform-origin: center top;
}

@keyframes pricingCardIn {
    0% { opacity: 0; transform: translateY(50px) scale(0.85) rotateX(-15deg); filter: blur(8px); }
    100% { opacity: 1; transform: translateY(0) scale(1) rotateX(0); filter: blur(0); }
}

.price-card:hover {
    border-color: rgba(16, 215, 255, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(16, 215, 255, 0.15);
}

.price-card.popular {
    border-color: rgba(16, 215, 255, 0.45);
    box-shadow: 0 0 40px rgba(16, 215, 255, .12);
    background: linear-gradient(160deg, rgba(16, 215, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.price-badge {
    display: none;
    position: absolute;
    top: 12px; left: 12px;
    background: var(--accent);
    border: 1px solid rgba(16, 215, 255, 0.4);
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 215, 255, 0.4);
}

.price-card h4 {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(16, 215, 255, 0.3);
    text-align: center;
}

.price-card.popular h4 {
    background: linear-gradient(135deg, #ffffff 0%, #10d7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 2px 10px rgba(16, 215, 255, 0.45));
}

.price {
    font-size: 32px;
    font-weight: 900;
    color: #67e8f9;
    margin: 10px 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.price small { font-size: 13px; color: var(--muted); font-weight: 400; }

.price-old {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dim);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 90, 90, 0.85);
    text-decoration-thickness: 2px;
    opacity: 0.7;
}

.price-now { color: #67e8f9; }

.price-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff5252, #c91111);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(201, 17, 17, 0.45), 0 0 0 1px rgba(255, 90, 90, 0.4);
    letter-spacing: 0.5px;
    z-index: 2;
    animation: discountPulse 2s ease-in-out infinite;
}

@keyframes discountPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(201, 17, 17, 0.45), 0 0 0 1px rgba(255, 90, 90, 0.4); }
    50%      { transform: scale(1.06); box-shadow: 0 6px 20px rgba(201, 17, 17, 0.65), 0 0 0 1px rgba(255, 120, 120, 0.6); }
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 14px 0;
    color: var(--muted);
}

.price-card li {
    padding: 5px 0;
    display: flex;
    align-items: start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.price-card li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
}

.price-cta, .show-pricing-btn {
    width: 100%;
    border: 0;
    background: var(--accent);
    color: #00101a;
    border-radius: 16px;
    padding: 13px;
    font-weight: 900;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.25s var(--ease-premium);
    box-shadow: 0 6px 20px rgba(16, 215, 255, 0.3);
}

.price-cta:hover, .show-pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 215, 255, 0.5);
}

.cta-wrap {
    margin-top: 24px;
    text-align: center;
    opacity: 0;
    animation: ctaIn 0.6s var(--ease-premium) 0.8s forwards;
}

@keyframes ctaIn { to { opacity: 1; } }

.cta-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin-bottom: 16px;
}

.show-pricing-btn {
    width: auto;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 15px;
    display: inline-block;
}

.cta-hint {
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    margin-top: 8px;
}

/* ========= COMPOSER ========= */
.composer-wrap {
    padding: 16px 24px calc(24px + env(safe-area-inset-bottom));
    border-top: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-shrink: 0;
    /* Klaviatura açılanda composer həmişə görünsün */
    position: relative;
    z-index: 5;
}

.composer {
    max-width: 1000px;
    margin: 0 auto;
}

.composer-inner {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

#userInput {
    flex: 1;
    resize: none;
    min-height: 54px;
    max-height: 200px;
    border: 1px solid rgba(16, 215, 255, .22);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    border-radius: 20px;
    padding: 16px 20px;
    outline: none;
    font-family: inherit;
    /* font-size 16px — iOS Safari focus-da avtomatik zoom qarşısı.
       15px-də iOS sayfayı zoom-laır, layout pozulur. */
    font-size: 16px;
    line-height: 1.5;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
    width: 100%;
    min-width: 0;
}

#userInput::placeholder { color: var(--muted); }

#userInput:focus {
    border-color: rgba(16, 215, 255, .55);
    box-shadow: 0 0 0 4px rgba(16, 215, 255, .08);
}

#userInput {
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 215, 255, .35) transparent;
}

#userInput::-webkit-scrollbar {
    width: 18px;
}

#userInput::-webkit-scrollbar-track {
    background: transparent;
    margin: 12px 0;
}

#userInput::-webkit-scrollbar-thumb {
    background: rgba(16, 215, 255, .32);
    border-radius: 10px;
    border: 4px solid transparent;
    border-right-width: 12px;
    background-clip: padding-box;
    transition: background 0.2s;
    min-height: 28px;
}

#userInput::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 215, 255, .6);
    background-clip: padding-box;
}

.send-btn {
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 18px;
    background: var(--accent);
    color: #00101a;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease-bounce);
    box-shadow: 0 8px 24px rgba(16, 215, 255, 0.4);
}

.send-btn:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 12px 30px rgba(16, 215, 255, 0.5); }
.send-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.composer-hint {
    text-align: center;
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 10px;
}

/* ========= INFO PANEL ========= */
.info-panel {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
}

.info-panel h3 {
    font-size: 26px;
    margin: 0 0 10px;
    background: linear-gradient(90deg, #fff, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.info-body { color: var(--muted); line-height: 1.6; }

.info-stats, .info-contacts, .info-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

/* Əlaqə kartları daha geniş minimum tələb edir — uzun etiket mətnləri üçün */
.info-contacts {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.info-quick-actions { display: flex; flex-wrap: wrap; }

.info-stat, .info-contact-card {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 14px;
    color: var(--text);
    text-decoration: none;
    text-align: center;
    transition: all 0.25s;
}

.info-contact-card {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
}

/* Kart daxilindəki mətn konteyneri (ikinci div) — uzun mətn sığsın deyə */
.info-contact-card > div:nth-child(2) {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.info-contact-card:hover {
    border-color: rgba(16, 215, 255, 0.4);
    transform: translateY(-2px);
    background: rgba(16, 215, 255, 0.06);
}

.info-copyright {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

/* ===== Haqqımızda — Misiya, Prinsiplər, Komanda blokları ===== */
.about-section {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.about-heading {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.3px;
    margin: 0 0 14px;
    background: linear-gradient(90deg, #fff 0%, #67e8f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(16, 215, 255, 0.18));
}

.about-lead {
    position: relative;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    color: #d6f6ff;
    margin: 0 0 14px;
    padding-left: 14px;
    border-left: 3px solid;
    border-image: linear-gradient(180deg, var(--accent), var(--accent)) 1;
    font-style: italic;
}

.about-text {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 12px;
}

.about-close {
    color: #d6f6ff;
    font-weight: 600;
    font-size: 14.5px;
    margin-top: 16px;
}

.about-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.about-principle {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    transition: all 0.3s var(--ease-premium);
    position: relative;
    overflow: hidden;
}

.about-principle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16,215,255,0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.about-principle:hover {
    border-color: rgba(16, 215, 255, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(16, 215, 255, 0.12);
}
.about-principle:hover::before { opacity: 1; }

.about-principle-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #00101a;
    box-shadow: 0 6px 18px rgba(16, 215, 255, 0.4);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.about-principle h5 {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

.about-principle p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .about-heading { font-size: 19px; }
    .about-lead { font-size: 14px; }
    .about-principle { padding: 14px; }
    .about-principle-icon { width: 40px; height: 40px; font-size: 19px; }
}

.info-contact-icon {
    width: 44px; height: 44px;
    border-radius: 13px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(16, 215, 255, 0.35);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s ease;
}

/* İkonanın daxili SVG ölçüsü və başlanğıc stili */
.info-contact-icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
    overflow: visible;
    will-change: transform;
}

/* Üzərinə gələndə icon konteyneri yüngülcə qalxır + ekstra glow */
.info-contact-card:hover .info-contact-icon {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 28px rgba(16, 215, 255, 0.55), 0 0 0 2px rgba(16, 215, 255, 0.2);
}

/* Konteyner arxa parıltısı (üzərinə gələndə yayılan dalğa) */
.info-contact-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(255,255,255,0.55) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.4);
    pointer-events: none;
}
.info-contact-card:hover .info-contact-icon::after {
    animation: iconShine 0.85s ease-out;
}
@keyframes iconShine {
    0%   { opacity: 0;   transform: scale(0.4); }
    45%  { opacity: 0.9; transform: scale(1.0); }
    100% { opacity: 0;   transform: scale(1.7); }
}

/* ===== Telefon — zəng vibrasiyası ===== */
.icon-phone svg {
    transform-origin: 50% 80%;
    animation: phoneRing 3.8s ease-in-out infinite;
}
@keyframes phoneRing {
    0%, 60%, 100% { transform: rotate(0); }
    5%, 15%, 25%, 35%, 45% { transform: rotate(-13deg); }
    10%, 20%, 30%, 40%, 50% { transform: rotate(13deg); }
    55% { transform: rotate(0); }
}
.info-contact-card:hover .icon-phone svg {
    animation-duration: 1.4s;
}

/* ===== Mail — qapağın yüngül açılması ===== */
.icon-mail svg .mail-flap {
    transform-origin: 50% 50%;
    transition: transform 0.5s ease;
    animation: mailFlapPulse 4s ease-in-out infinite;
}
.icon-mail {
    animation: mailFloat 3.2s ease-in-out infinite;
}
@keyframes mailFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-2px); }
}
@keyframes mailFlapPulse {
    0%, 100% { transform: scaleY(1) translateY(0); }
    50%      { transform: scaleY(0.55) translateY(-1px); }
}
.info-contact-card:hover .icon-mail .mail-flap {
    transform: scaleY(0.4) translateY(-2px);
    animation: none;
}

/* ===== Pin — yumşaq bounce ===== */
.icon-pin svg {
    transform-origin: 50% 100%;
    animation: pinBounce 2.2s ease-in-out infinite;
}
@keyframes pinBounce {
    0%, 100% { transform: translateY(0) scale(1, 1); }
    35%      { transform: translateY(-6px) scale(0.95, 1.05); }
    55%      { transform: translateY(0)    scale(1.1, 0.9); }
    75%      { transform: translateY(-2px) scale(0.98, 1.02); }
}
.info-contact-card:hover .icon-pin svg {
    animation-duration: 0.9s;
}

/* ===== Globe — yavaş dövr ===== */
.icon-globe svg {
    transform-origin: 50% 50%;
    animation: globeSpin 16s linear infinite;
}
@keyframes globeSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.info-contact-card:hover .icon-globe svg {
    animation-duration: 3s;
}

/* Eyni tip ikonlar üst-üstə eyni vaxtda dəyişməsin deyə offset */
.info-contact-card:nth-child(3) .icon-mail svg .mail-flap { animation-delay: -1.2s; }
.info-contact-card:nth-child(4) .icon-mail svg .mail-flap { animation-delay: -2.4s; }
.info-contact-card:nth-child(3) .icon-mail { animation-delay: -1s; }
.info-contact-card:nth-child(4) .icon-mail { animation-delay: -2s; }

.info-stat-num {
    font-size: 28px;
    font-weight: 900;
    color: #67e8f9;
}

.info-stat-label, .info-contact-label {
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Əlaqə label uzun cümlə ola bilər — uppercase silinir, word-wrap aktivləşir */
.info-contact-label {
    text-transform: none;
    letter-spacing: 0.2px;
    font-size: 11.5px;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.info-contact-value {
    font-size: 14px;
    font-weight: 600;
    margin-top: 3px;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.3;
}

.info-quick {
    cursor: pointer;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 10px 16px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.info-quick .icon { width: 14px; height: 14px; flex-shrink: 0; color: var(--accent); }
.info-quick:hover .icon { color: #00101a; }

.info-quick:hover {
    background: var(--accent);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

/* ========= AI ROBOT WIDGET (fixed bottom-right) ========= */
.ai-widget {
    position: fixed;
    right: 24px;
    bottom: calc(39px + env(safe-area-inset-bottom));
    z-index: 90;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Klaviatura açıq olanda (input fokusda) robot gizlənir — söhbət düyməsinə mane olmasın */
body.kb-open .ai-widget,
body:has(.sidebar.open) .ai-widget {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.85);
}

/* Mobil və tabletdə AI robotu, balon-u və chat panel-i tamamilə gizlət */
@media (max-width: 900px) {
    .ai-widget,
    .ai-bubble,
    .ai-chat-panel {
        display: none !important;
    }
}

/* FLIP animasiyası JS-də (Web Animations API) idarə olunur — CSS sadəcə
   uçuş zamanı bubble-ı gizlədir və float animasiyasını söndürür. */
.ai-widget.flying {
    will-change: transform;
}

.ai-widget.flying .ai-bot {
    animation: none !important;
    will-change: transform, filter;
}

.ai-widget.flying .ai-bubble {
    opacity: 0 !important;
    transition: none !important;
}

.ai-widget.compose-mode {
    right: auto;
    left: max(360px, calc(50% - 500px));
    bottom: 39px;
}

/* Sidebar bağlananda robot daha sola çəkilsin — kompüzerin üstünə düşməsin */
body:has(.sidebar.collapsed) .ai-widget.compose-mode {
    left: 24px;
}

.ai-widget.compose-mode .ai-bubble {
    right: auto;
    left: 100px;
    bottom: 86px;
    border-radius: 18px 18px 18px 4px;
}

.ai-widget.compose-mode .ai-bubble::after {
    right: auto;
    left: -8px;
    border-left: 0;
    border-right: 8px solid rgba(7, 17, 31, .95);
}

.ai-bot {
    width: 92px;
    height: 80px;
    position: relative;
    cursor: pointer;
    filter: drop-shadow(0 22px 32px rgba(0, 0, 0, .45)) drop-shadow(0 0 20px rgba(16, 215, 255, 0.3));
    animation: float 3.2s ease-in-out infinite;
    transition: transform 0.3s var(--ease-bounce);
}

/* Robot bədəni və qolları gizlədildi — yalnız baş göstərilir */
.ai-body,
.ai-arm { display: none !important; }

.ai-bot:hover { transform: scale(1.08); }

@keyframes float { 50% { transform: translateY(-13px) rotate(1deg); } }

/* ========= Külək streak-ları (yalnız uçuş zamanı) ========= */
.ai-wind {
    position: absolute;
    inset: -10px -20px;
    pointer-events: none;
    z-index: -1;
    overflow: visible;
}
.ai-wind span {
    position: absolute;
    height: 2px;
    width: 65px;
    background: linear-gradient(90deg, transparent, rgba(210, 240, 255, 0.7) 50%, transparent);
    border-radius: 2px;
    filter: blur(0.7px);
    opacity: 0;
    transform: translateX(40px);
}
/* 6 streak — orta sıxlıq */
.ai-wind span:nth-child(1) { top: 15%; width: 55px; }
.ai-wind span:nth-child(2) { top: 30%; width: 80px; }
.ai-wind span:nth-child(3) { top: 45%; width: 60px; }
.ai-wind span:nth-child(4) { top: 60%; width: 75px; }
.ai-wind span:nth-child(5) { top: 75%; width: 55px; }
.ai-wind span:nth-child(6) { top: 88%; width: 50px; }

/* Sola uçanda streak-lar geriyə (sağa) süzülür */
.ai-widget.flying .ai-wind span {
    animation: windRight 0.6s ease-out forwards;
}
.ai-widget.flying .ai-wind span:nth-child(1) { animation-delay: 0.00s; }
.ai-widget.flying .ai-wind span:nth-child(2) { animation-delay: 0.07s; }
.ai-widget.flying .ai-wind span:nth-child(3) { animation-delay: 0.04s; }
.ai-widget.flying .ai-wind span:nth-child(4) { animation-delay: 0.10s; }
.ai-widget.flying .ai-wind span:nth-child(5) { animation-delay: 0.06s; }
.ai-widget.flying .ai-wind span:nth-child(6) { animation-delay: 0.12s; }

/* Sağa uçanda streak-lar geriyə (sola) süzülür */
.ai-widget.flying.fly-right .ai-wind span {
    animation: windLeft 0.6s ease-out forwards;
}

@keyframes windRight {
    0%   { opacity: 0;    transform: translateX(-40px) scaleX(0.6); }
    25%  { opacity: 0.75; transform: translateX(20px)  scaleX(1); }
    100% { opacity: 0;    transform: translateX(140px) scaleX(1.3); }
}
@keyframes windLeft {
    0%   { opacity: 0;    transform: translateX(40px)  scaleX(0.6); }
    25%  { opacity: 0.75; transform: translateX(-20px) scaleX(1); }
    100% { opacity: 0;    transform: translateX(-140px) scaleX(1.3); }
}

.ai-head {
    width: 76px; height: 76px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #fff, #dceeff 38%, #91a7bb);
    position: absolute;
    left: 8px; top: 0;
    box-shadow: inset -10px -12px 20px rgba(0, 0, 0, .18), 0 0 30px rgba(16, 215, 255, .25);
}

.ai-face {
    width: 58px; height: 48px;
    border-radius: 50%;
    position: absolute;
    left: 9px; top: 13px;
    background: radial-gradient(circle at 38% 20%, #223957, #07111f 58%, #01040a);
    overflow: hidden;
}

.ai-eye {
    width: 11px; height: 11px;
    border-radius: 50%;
    position: absolute;
    top: 20px;
    background: #55dfff;
    box-shadow: 0 0 9px #55dfff, 0 0 20px #55dfff;
    transition: .18s;
}

.ai-eye.left { left: 14px; }
.ai-eye.right { right: 14px; }

.ai-mouth {
    position: absolute;
    width: 18px; height: 8px;
    left: 50%; top: 33px;
    transform: translateX(-50%);
    border-bottom: 3px solid #55dfff;
    border-radius: 0 0 18px 18px;
    filter: drop-shadow(0 0 4px #55dfff);
    transition: all 0.3s;
}

.ai-body {
    width: 56px; height: 58px;
    position: absolute;
    left: 18px; top: 61px;
    border-radius: 28px 28px 24px 24px;
    background: radial-gradient(circle at 35% 18%, #fff, #dceeff 40%, #91a7bb);
    box-shadow: inset -9px -10px 18px rgba(0,0,0,.15);
}

.ai-light {
    width: 20px; height: 20px;
    border-radius: 50%;
    position: absolute;
    left: 18px; top: 17px;
    background: radial-gradient(circle, #fff, #7df2ff 42%, #20bfff);
    box-shadow: 0 0 18px #55dfff;
    animation: chestPulse 1.7s ease-in-out infinite;
    transition: all 0.3s;
}

@keyframes chestPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.ai-arm {
    width: 14px; height: 38px;
    position: absolute;
    top: 68px;
    border-radius: 14px;
    background: linear-gradient(145deg, #f4fbff, #91aebf);
    transform-origin: top;
}

.ai-arm.left { left: 3px; animation: armL 2.5s infinite; }
.ai-arm.right { right: 3px; animation: armR 2.5s infinite; }

@keyframes armL { 50% { transform: rotate(16deg); } }
@keyframes armR { 50% { transform: rotate(-16deg); } }

.ai-bubble {
    position: absolute;
    right: 100px;
    bottom: 86px;
    width: 230px;
    padding: 12px 14px;
    border-radius: 18px 18px 4px 18px;
    background: rgba(7, 17, 31, .95);
    border: 1px solid rgba(85, 223, 255, .3);
    color: #c8fbff;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45), 0 0 20px rgba(16, 215, 255, 0.15);
    opacity: 0;
    transform: translateY(10px) scale(.96);
    transition: .3s var(--ease-bounce);
    pointer-events: none;
    backdrop-filter: blur(20px);
}

.ai-bubble.show { opacity: 1; transform: none; }

.ai-bubble::after {
    content: '';
    position: absolute;
    right: -8px;
    bottom: 18px;
    width: 0; height: 0;
    border-left: 8px solid rgba(7, 17, 31, .95);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* Robot click-cycle color themes (qırmızı → mavi → yaşıl → bənövşəyi) */
.ai-widget.color-red .ai-head,
.ai-widget.color-red .ai-body {
    background: radial-gradient(circle at 30% 20%, #fff, #ffd2d2 38%, #c34646);
}
.ai-widget.color-red .ai-bot {
    filter: drop-shadow(0 22px 32px rgba(0,0,0,.45)) drop-shadow(0 0 20px rgba(255,60,60,.4));
}
.ai-widget.color-red .ai-eye {
    background: #ff5252;
    box-shadow: 0 0 9px #ff5252, 0 0 20px #ff5252;
}
.ai-widget.color-red .ai-mouth {
    border-bottom-color: #ff5252;
    filter: drop-shadow(0 0 4px #ff5252);
}
.ai-widget.color-red .ai-light {
    background: radial-gradient(circle, #fff, #ffb4b4 42%, #ff3030);
    box-shadow: 0 0 18px #ff3030;
}
.ai-widget.color-red .ai-arm {
    background: linear-gradient(145deg, #fff5f5, #c14a4a);
}

.ai-widget.color-blue .ai-head,
.ai-widget.color-blue .ai-body {
    background: radial-gradient(circle at 30% 20%, #fff, #c8d6ff 38%, #4a6fc1);
}
.ai-widget.color-blue .ai-bot {
    filter: drop-shadow(0 22px 32px rgba(0,0,0,.45)) drop-shadow(0 0 20px rgba(80,120,255,.45));
}
.ai-widget.color-blue .ai-eye {
    background: #5a82ff;
    box-shadow: 0 0 9px #5a82ff, 0 0 20px #5a82ff;
}
.ai-widget.color-blue .ai-mouth {
    border-bottom-color: #5a82ff;
    filter: drop-shadow(0 0 4px #5a82ff);
}
.ai-widget.color-blue .ai-light {
    background: radial-gradient(circle, #fff, #adc1ff 42%, #3b6dff);
    box-shadow: 0 0 18px #3b6dff;
}
.ai-widget.color-blue .ai-arm {
    background: linear-gradient(145deg, #f0f4ff, #4a6fc1);
}

.ai-widget.color-green .ai-head,
.ai-widget.color-green .ai-body {
    background: radial-gradient(circle at 30% 20%, #fff, #c8f5d8 38%, #2f9a5d);
}
.ai-widget.color-green .ai-bot {
    filter: drop-shadow(0 22px 32px rgba(0,0,0,.45)) drop-shadow(0 0 20px rgba(25,195,125,.45));
}
.ai-widget.color-green .ai-eye {
    background: #34d97a;
    box-shadow: 0 0 9px #34d97a, 0 0 20px #34d97a;
}
.ai-widget.color-green .ai-mouth {
    border-bottom-color: #34d97a;
    filter: drop-shadow(0 0 4px #34d97a);
}
.ai-widget.color-green .ai-light {
    background: radial-gradient(circle, #fff, #b4f8c8 42%, #19c37d);
    box-shadow: 0 0 18px #19c37d;
}
.ai-widget.color-green .ai-arm {
    background: linear-gradient(145deg, #f1fcf5, #2f9a5d);
}

.ai-widget.color-purple .ai-head,
.ai-widget.color-purple .ai-body {
    background: radial-gradient(circle at 30% 20%, #fff, #e0caff 38%, #7c3aed);
}
.ai-widget.color-purple .ai-bot {
    filter: drop-shadow(0 22px 32px rgba(0,0,0,.45)) drop-shadow(0 0 20px rgba(168,85,247,.5));
}
.ai-widget.color-purple .ai-eye {
    background: #c084fc;
    box-shadow: 0 0 9px #c084fc, 0 0 20px #c084fc;
}
.ai-widget.color-purple .ai-mouth {
    border-bottom-color: #c084fc;
    filter: drop-shadow(0 0 4px #c084fc);
}
.ai-widget.color-purple .ai-light {
    background: radial-gradient(circle, #fff, #d8b4fe 42%, #a855f7);
    box-shadow: 0 0 18px #a855f7;
}
.ai-widget.color-purple .ai-arm {
    background: linear-gradient(145deg, #f7eeff, #7c3aed);
}

.ai-widget.color-yellow .ai-head,
.ai-widget.color-yellow .ai-body {
    background: radial-gradient(circle at 30% 20%, #fff, #fff6c8 38%, #b78a18);
}
.ai-widget.color-yellow .ai-bot {
    filter: drop-shadow(0 22px 32px rgba(0,0,0,.45)) drop-shadow(0 0 22px rgba(255,200,30,.55));
}
.ai-widget.color-yellow .ai-eye {
    background: #ffce3a;
    box-shadow: 0 0 9px #ffce3a, 0 0 20px #ffce3a;
}
.ai-widget.color-yellow .ai-mouth {
    border-bottom-color: #ffce3a;
    filter: drop-shadow(0 0 4px #ffce3a);
}
.ai-widget.color-yellow .ai-light {
    background: radial-gradient(circle, #fff, #fff39e 42%, #ffb800);
    box-shadow: 0 0 18px #ffb800;
}
.ai-widget.color-yellow .ai-arm {
    background: linear-gradient(145deg, #fffaee, #b78a18);
}

/* Robot states */
.ai-widget.thinking .ai-bot { animation: think .7s infinite; }
.ai-widget.thinking .ai-eye { background: #ffd56b; box-shadow: 0 0 10px #ffd56b, 0 0 22px #ffd56b; }
.ai-widget.thinking .ai-mouth { border-bottom-color: #ffd56b; filter: drop-shadow(0 0 4px #ffd56b); }
.ai-widget.thinking .ai-light { background: radial-gradient(circle, #fff, #ffd56b 42%, #ff9500); box-shadow: 0 0 18px #ffd56b; }

.ai-widget.excited .ai-bot { animation: excited .5s infinite; }
.ai-widget.excited .ai-light { background: radial-gradient(circle, #fff, #b4f8c8 42%, #19c37d); box-shadow: 0 0 22px #19c37d; }

.ai-widget.angry .ai-eye { background: #ff2d55; box-shadow: 0 0 10px #ff2d55, 0 0 22px #ff2d55; }
.ai-widget.angry .ai-light { background: radial-gradient(circle, #fff, #ff5f7d 42%, #ff1744); box-shadow: 0 0 18px #ff2d55; }
.ai-widget.angry .ai-mouth { border-bottom: 0; border-top: 3px solid #ff2d55; top: 37px; border-radius: 18px 18px 0 0; filter: drop-shadow(0 0 4px #ff2d55); }
.ai-widget.angry .ai-bot { animation: angryShake 0.3s infinite; }

@keyframes think { 50% { transform: translateY(-7px) rotate(-3deg); } }
@keyframes excited { 25% { transform: translate(-4px, -8px) rotate(-5deg); } 75% { transform: translate(4px, -10px) rotate(5deg); } }
@keyframes angryShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-3px) rotate(-2deg); } 75% { transform: translateX(3px) rotate(2deg); } }

/* AI Chat Panel */
.ai-chat-panel {
    position: fixed;
    right: 24px;
    bottom: 160px;
    width: 320px;
    max-height: 460px;
    background: rgba(7, 17, 31, .95);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(85, 223, 255, .25);
    border-radius: 22px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .55), 0 0 40px rgba(16, 215, 255, 0.15);
    display: none;
    overflow: hidden;
    z-index: 98;
}

.ai-chat-panel.active { display: block; animation: msgIn .3s both; }

.ai-chat-header {
    padding: 14px 16px;
    background: rgba(16, 215, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    color: white;
}

.ai-chat-header strong { font-size: 15px; font-weight: 700; }

.ai-close {
    width: 28px; height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: white;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.ai-close:hover { background: rgba(255, 30, 60, 0.3); transform: rotate(90deg); }

.ai-chat-body {
    padding: 14px;
    max-height: 285px;
    overflow: auto;
}

.ai-chat-body::-webkit-scrollbar { width: 4px; }
.ai-chat-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.ai-msg {
    padding: 10px 12px;
    border-radius: 14px;
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.4;
    animation: msgIn 0.3s both;
}

.ai-msg.bot { background: rgba(16, 215, 255, .1); border: 1px solid rgba(16, 215, 255, 0.15); color: #cffafe; }
.ai-msg.user { background: rgba(168, 85, 247, .18); margin-left: 25px; color: white; }

.ai-quick-replies {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 0 14px 12px;
}

.ai-quick-replies button {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.ai-quick-replies button:hover { background: rgba(16, 215, 255, .2); border-color: rgba(16, 215, 255, 0.4); }

.ai-chat-input {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.ai-chat-input input {
    flex: 1;
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: #fff;
    padding: 10px 12px;
    outline: none;
    font-family: inherit;
    font-size: 13px;
}

.ai-chat-input input:focus { border-color: rgba(16, 215, 255, 0.4); }

.ai-chat-input button {
    border: 0;
    background: var(--accent);
    border-radius: 12px;
    padding: 0 14px;
    cursor: pointer;
    color: #00101a;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(16, 215, 255, 0.3);
}

/* ========= RESPONSIVE ========= */
@media (max-width: 900px) {
    .chat-area { padding: 24px 14px; }
    /* Tablet (≤900px): 3'lü grid — desktop ile aynı düzen, biraz daha kompakt */
    .projects-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .project-card { min-height: 280px; padding: 12px; border-radius: 20px; }
    .project-image { margin-bottom: 10px; border-radius: 14px; }
    .project-image-inner { gap: 8px; padding: 12px; }
    .project-image-inner svg { width: 30px; height: 30px; }
    .project-image-title { font-size: 13px; }
    .project-info h3 { font-size: 17px; margin: 8px 0 4px; }
    .project-info p { font-size: 12px; }
    .project-sub { font-size: 10px; }
    .project-tags { gap: 6px; margin-top: 9px; }
    .project-tag { font-size: 10px; padding: 4px 8px; }

    /* Tablet (≤900px): fiyat paketleri 3 sütun — kompakt */
    .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .pricing-section { margin-top: 18px; padding-top: 16px; }
    .pricing-header { margin-bottom: 16px; }
    .pricing-title { font-size: 20px; }
    .pricing-subtitle { font-size: 12px; }
    .price-card { padding: 14px; border-radius: 18px; }
    .price-card h4 { font-size: 18px; margin-bottom: 4px; }
    .price { font-size: 24px; margin: 6px 0; gap: 5px; }
    .price small { font-size: 11px; }
    .price-old { font-size: 13px; }
    .price-card ul { margin: 10px 0; }
    .price-card li { padding: 3px 0; font-size: 11px; gap: 6px; }
    .price-cta, .show-pricing-btn { padding: 10px; font-size: 13px; border-radius: 12px; }
    .price-badge { padding: 3px 8px; font-size: 9px; top: 8px; left: 8px; }
    .price-discount-badge { padding: 3px 8px; font-size: 9px; top: 8px; right: 8px; }

    .ai-widget { right: 12px; bottom: calc(27px + env(safe-area-inset-bottom)); }
    .ai-widget.compose-mode { left: 12px; bottom: calc(27px + env(safe-area-inset-bottom)); }
    .ai-chat-panel { right: 12px; bottom: calc(140px + env(safe-area-inset-bottom)); width: calc(100vw - 24px); }
    .ai-bubble { width: 180px; right: 90px; }
    .ai-widget.compose-mode .ai-bubble { left: 90px; bottom: 70px; width: 180px; }
}

.sidebar-close {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 110;
    transition: background 0.2s, transform 0.2s;
}
.sidebar-close:hover { background: rgba(16, 215, 255, 0.15); transform: scale(1.05); }

/* ========= SIDEBAR BACKDROP (mobil) ========= */
.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-premium);
}
.sidebar-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .sidebar-backdrop { display: block; }
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        height: 100vh;
        height: 100dvh;
        width: min(86vw, 320px);
        margin-left: 0;
        transform: translateX(-105%);
        transition: transform 0.35s var(--ease-premium);
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .sidebar.open {
        transform: translateX(0);
        box-shadow: 0 0 50px rgba(0, 0, 0, .7);
    }
    .sidebar.collapsed { margin-left: 0; transform: translateX(-105%); }
    .sidebar-close { display: flex; width: 40px; height: 40px; }
    .welcome h1, .welcome h2 { font-size: 32px; margin: 14px 0; }
    .welcome p { font-size: 15px; }
    .composer-wrap { padding: 10px 12px calc(14px + env(safe-area-inset-bottom)); }

    /* Topbar — daha kompakt, dil seçicisi ilə üst-üstə düşməsin */
    .topbar { height: 52px; padding: 0 10px; padding-top: env(safe-area-inset-top); padding-right: 110px; gap: 8px; }
    .topbar .icon-btn { width: 44px; height: 44px; }
    .model-pill { font-size: 14px; padding: 6px 10px; }

    /* Chat area padding — mobil üçün daha az */
    .chat-area { padding: 18px 14px 14px; }

    /* Welcome boşluğu — söhbət başlamamış scroll məcburiyyəti olmasın */
    .welcome { min-height: auto; padding: 14px 0 4px; }

    /* Chat kartları (sidebar) — touch hədəfi */
    .chat-card { padding: 12px; min-height: 48px; }
    .nav-item { padding: 12px; font-size: 14px; min-height: 44px; }
    .new-chat { padding: 13px 14px; min-height: 48px; }

    /* Prompt kartları — touch ölçüsü */
    .prompt-card, .quick button { padding: 10px 14px; font-size: 13px; min-height: 40px; }

    /* Hover transformları toxunma cihazlarında lazımsız "atlama" yaratmasın */
    .prompt-card:hover, .quick button:hover,
    .chat-card:hover, .nav-item:hover,
    .new-chat:hover, .price-card:hover {
        transform: none;
    }

    /* Mesaj balon-ları mobildə tam genişlik */
    .msg-body { max-width: 100%; padding: 12px 14px; border-radius: 16px; font-size: 14px; }
    .msg-avatar { width: 32px; height: 32px; border-radius: 10px; font-size: 12px; }
    .msg-inner { gap: 8px; }
}

@media (max-width: 480px) {
    /* Welcome başlığı kiçik ekran üçün — clamp ilə qarışmasın */
    .welcome h1, .welcome h2 { font-size: 26px; margin: 10px 0; letter-spacing: -0.5px; }
    .welcome p { font-size: 13px; line-height: 1.5; }

    /* Chat area daha sıx */
    .chat-area { padding: 12px 10px 8px; }

    /* Sidebar tam genişlik (kiçik telefonlarda 86vw çox dar görünür) */
    .sidebar { width: min(90vw, 300px); }

    /* Topbar */
    .topbar { height: 48px; padding-right: 100px; }
    .topbar .icon-btn { width: 40px; height: 40px; }

    /* Robot gönder düğmesinin üzerine yerleşir — composer'ın bitiminden hemen yukarısı.
       send-btn 36×36, composer-wrap padding-bottom 18px → send-btn üstü ~54px'te.
       Robot'un görsel alt-sağ kenarı bu noktanın az üstünde olmalı. */
    .ai-widget { right: 6px; bottom: calc(108px + env(safe-area-inset-bottom)); }
    .ai-widget.compose-mode { left: 6px; bottom: calc(108px + env(safe-area-inset-bottom)); }

    /* Robot küçüldüğünde (scale 0.55) baloncuk hâlâ tam boyut robota göre konumlanıyordu;
       baloncuk artık küçük robotun yanına/üzerine hizalanır. */
    .ai-bubble { right: 50px; bottom: 4px; width: 160px; font-size: 12px; padding: 9px 11px; }
    .ai-bubble::after { bottom: 10px; }
    .ai-widget.compose-mode .ai-bubble { left: 50px; bottom: 4px; width: 160px; }
    .ai-widget.compose-mode .ai-bubble::after { bottom: 10px; }

    /* Robot ~1/3 boyuta küçülür — float, hover ve idle hallerinde scale korunur. */
    .ai-bot {
        transform-origin: bottom right;
        transform: scale(0.55);
        animation: float-sm 3.2s ease-in-out infinite;
    }
    .ai-widget.compose-mode .ai-bot { transform-origin: bottom left; }
    .ai-bot:hover { transform: scale(0.59); }

    @keyframes float-sm {
        0%, 100% { transform: scale(0.55); }
        50%      { transform: scale(0.55) translateY(-13px) rotate(1deg); }
    }

    /* Gönder düğmesi — touch hədəfi min. 44px (Apple HIG / Material) */
    .send-btn { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; }
    .send-btn svg { width: 18px; height: 18px; }
    .composer-inner { gap: 8px; align-items: flex-end; }
    #userInput {
        min-height: 46px;
        max-height: 140px;
        padding: 12px 16px;
        border-radius: 16px;
        font-size: 16px;
        line-height: 1.4;
    }

    /* Hızlı düğmeler (welcome ekranındaki prompt kartları + .quick) — touch hədəfi */
    .prompt-card, .quick button {
        padding: 9px 13px;
        font-size: 12px;
        border-radius: 999px;
        min-height: 38px;
    }
    .prompt-card .prompt-icon { font-size: 14px; }
    .prompt-grid, .quick { gap: 8px; margin-top: 16px; }

    /* AI mesaj baloncuğu — boyut ve metin küçülür */
    .msg-body { padding: 10px 12px; border-radius: 14px; }
    .msg-name { font-size: 9px; margin-bottom: 3px; }

    /* Proje kartları konteyneri ve giriş yazısı */
    .projects-intro { font-size: 11px; margin-bottom: 6px; }
    .projects-count { font-size: 9px; padding: 4px 9px; margin-bottom: 10px; gap: 5px; }
    /* 375px telefon görünümünde 2×3 grid — kartlar yan yana iki sütun */
    .projects-grid { gap: 8px; grid-template-columns: repeat(2, 1fr); }

    /* Proje kartı boyutları — dar (~130px) sütun için kompakt */
    .project-card { min-height: 180px; padding: 8px; border-radius: 14px; }
    .project-image { margin-bottom: 6px; border-radius: 10px; }
    .project-image-inner { gap: 4px; padding: 6px; }
    .project-image-inner svg { width: 18px; height: 18px; }
    .project-image-title { font-size: 9px; }
    .project-info h3 { font-size: 12px; margin: 4px 0 2px; line-height: 1.2; }
    .project-info p { font-size: 8px; line-height: 1.3; }
    .project-sub { font-size: 7px; }
    .project-tags { gap: 3px; margin-top: 5px; }
    .project-tag { font-size: 7px; padding: 2px 5px; }

    /* Aşağı sürüşdürün ipucu */
    .scroll-indicator-bottom { font-size: 9px; margin: 12px 0; padding: 7px; border-radius: 10px; gap: 5px; }

    /* CTA — qiymət paketlərini göstər düyməsi */
    .cta-wrap { margin-top: 15px; }
    .cta-divider { margin-bottom: 10px; }
    .show-pricing-btn { padding: 8px 18px; font-size: 10px; }
    .cta-hint { font-size: 8px; margin-top: 5px; }

    /* Mobil (≤480px): fiyat paketleri tek sütun (3 sütun çok dar olurdu) */
    .pricing-grid { grid-template-columns: 1fr; gap: 8px; }
    .pricing-title { font-size: 14px; }
    .pricing-subtitle { font-size: 9px; }
    .pricing-section { margin-top: 12px; padding-top: 10px; }
    .pricing-header { margin-bottom: 10px; }
    .price-card { padding: 10px; border-radius: 14px; }
    .price-card h4 { font-size: 13px; }
    .price { font-size: 18px; margin: 4px 0; }
    .price small { font-size: 9px; }
    .price-card li { font-size: 9px; padding: 2px 0; }
    .price-cta { padding: 7px; font-size: 10px; border-radius: 10px; }
}

/* ========= LANGUAGE SWITCHER (fixed top-right) ========= */
.lang-switcher {
    position: fixed;
    top: 9px;
    right: 16px;
    z-index: 200;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    padding: 4px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--border);
    border-radius: 999px;
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(16, 215, 255, 0.08);
}

.lang-btn {
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 7px 13px;
    border-radius: 999px;
    white-space: nowrap;
    overflow: hidden;
    transition:
        max-width 0.42s cubic-bezier(.32, .72, .35, 1),
        padding 0.38s cubic-bezier(.32, .72, .35, 1),
        opacity 0.32s ease,
        transform 0.42s cubic-bezier(.32, .72, .35, 1),
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

/* Aktiv dil həmişə sağda dayanır */
.lang-btn.active {
    order: 2;
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 215, 255, 0.35);
}

/* Passiv dillər solda yığılır və gizlənir */
.lang-btn:not(.active) {
    order: 1;
    max-width: 0;
    padding-left: 0;
    padding-right: 0;
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
}

/* Yalnız .open class olduqda passiv dillər açılır (click-toggle, hover yox) */
.lang-switcher.open .lang-btn:not(.active) {
    max-width: 60px;
    padding-left: 13px;
    padding-right: 13px;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.lang-btn:not(.active):hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .lang-switcher { top: calc(8px + env(safe-area-inset-top)); right: 10px; }
    /* min-width yalnız aktiv düyməyə tətbiq edilir — passiv (gizli) düymələr
       container-i genişləndirib boş fon yaratmasın */
    .lang-btn.active { padding: 8px 11px; font-size: 12px; min-width: 36px; }
    .lang-btn:not(.active) { padding-left: 0; padding-right: 0; min-width: 0; }
}

/* Touch cihazlarda hover transformları "yapışıb qalmasın" deyə ləğv olunur */
@media (hover: none) and (pointer: coarse) {
    .prompt-card:hover, .quick button:hover,
    .chat-card:hover, .nav-item:hover,
    .new-chat:hover, .price-card:hover,
    .send-btn:hover {
        transform: none;
    }
}


/* ========= QUICK ACTIONS BAR (composer üstündə) ========= */
.quick-actions-bar {
    max-width: 1000px;
    margin: 0 auto 8px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 4px;
}
.quick-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: rgba(16, 215, 255, 0.08);
    border: 1px solid rgba(16, 215, 255, 0.3);
    color: var(--accent);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s var(--ease-bounce);
    backdrop-filter: blur(10px);
    position: relative;
}
.quick-action-btn:hover {
    background: var(--accent);
    color: #00101a;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 215, 255, 0.35);
}
.quick-action-btn .icon { width: 14px; height: 14px; }
.quick-action-badge {
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    min-width: 16px;
    text-align: center;
    border-radius: 999px;
    margin-left: 2px;
}

/* nav-item-dot (sidebar canlı dəstək bildiriş nöqtəsi) */
.nav-item-dot {
    margin-left: auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.7);
    animation: pulseDot 1.4s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.3); opacity: 0.6; }
}

/* ========= CANLI DƏSTƏK PANEL ========= */
.support-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s;
}
.support-backdrop.show { display: block; opacity: 1; }

.support-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    max-width: 420px;
    background: rgba(10, 14, 26, 0.96);
    border-left: 1px solid var(--border);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    z-index: 210;
    display: flex;
    flex-direction: column;
    transform: translateX(110%);
    transition: transform 0.4s var(--ease-premium);
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}
.support-panel.open { transform: translateX(0); }

.support-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(16, 215, 255, 0.08), transparent);
}
.support-head-info { display: flex; align-items: center; gap: 12px; }
.support-head-status {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
    animation: pulseDot 2s ease-in-out infinite;
}
.support-head-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}
.support-head-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}
.support-close {
    width: 34px; height: 34px;
    border: 0;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.support-close:hover { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.support-start {
    flex: 1;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.support-start p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 6px;
}
.support-start input {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
}
.support-start input:focus { border-color: var(--accent); }
.support-start-btn {
    padding: 12px 20px;
    background: var(--accent);
    color: #00101a;
    border: 0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s var(--ease-bounce);
    box-shadow: 0 6px 18px rgba(16, 215, 255, 0.35);
}
.support-start-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(16, 215, 255, 0.45); }

.support-conversation {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
}
.support-conversation::-webkit-scrollbar { width: 6px; }
.support-conversation::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.support-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.support-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    animation: msgFadeIn 0.3s ease-out;
}
.support-msg.user {
    align-self: flex-end;
    background: var(--accent);
    color: #00101a;
    border-bottom-right-radius: 4px;
}
.support-msg.admin {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text);
    border-bottom-left-radius: 4px;
}
.support-msg-time {
    font-size: 10px;
    opacity: 0.65;
    margin-top: 3px;
    display: block;
}
@keyframes msgFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

.support-typing-indicator {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.support-typing-indicator .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--muted);
    animation: typingBounce 1.2s ease-in-out infinite;
}
.support-typing-indicator .dot:nth-child(2) { animation-delay: 0.15s; }
.support-typing-indicator .dot:nth-child(3) { animation-delay: 0.3s; }
.support-typing-indicator .typing-label {
    margin-left: 6px;
    font-size: 11px;
    color: var(--muted);
}
@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.85); opacity: 0.5; }
    40%           { transform: scale(1.1);  opacity: 1; }
}

.support-form {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: rgba(5, 10, 24, 0.6);
}
.support-form textarea {
    flex: 1;
    resize: none;
    min-height: 42px;
    max-height: 140px;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border 0.2s;
}
.support-form textarea:focus { border-color: var(--accent); }
.support-send-btn {
    width: 42px; height: 42px;
    border: 0;
    background: var(--accent);
    color: #00101a;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s var(--ease-bounce);
    box-shadow: 0 4px 12px rgba(16, 215, 255, 0.35);
}
.support-send-btn:hover { transform: scale(1.05); }
.support-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 480px) {
    .support-panel { max-width: 100%; }
    .quick-actions-bar { justify-content: center; }
}

/* ========= "DAHA ÇOX GÖSTƏR" DÜYMƏSİ (layihə kartları) ========= */
.project-card-hidden {
    display: none;
}
.show-more-projects-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    margin: 16px auto 8px;
    padding: 12px 22px;
    background: rgba(16, 215, 255, 0.08);
    border: 1px solid rgba(16, 215, 255, 0.35);
    color: var(--accent);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s var(--ease-bounce);
    backdrop-filter: blur(10px);
}
.show-more-projects-btn:hover {
    background: var(--accent);
    color: #00101a;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(16, 215, 255, 0.4);
}
.show-more-projects-btn .icon { width: 14px; height: 14px; }
.project-card.revealing {
    animation: cardReveal 0.5s var(--ease-bounce) var(--delay, 0s) both;
}
@keyframes cardReveal {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: none; }
}

/* ========= CONTACT FORM ========= */
.contact-form {
    margin-top: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
}

.contact-form-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
    background: linear-gradient(90deg, #fff, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-form-desc {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 16px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(16, 215, 255, 0.55);
    background: rgba(16, 215, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(16, 215, 255, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
    margin-bottom: 12px;
}

.contact-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--accent);
    color: #00101a;
    border: 0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s var(--ease-bounce);
    box-shadow: 0 6px 18px rgba(16, 215, 255, 0.35);
}

.contact-form-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(16, 215, 255, 0.45);
}

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

.contact-form-status {
    margin-top: 10px;
    font-size: 13px;
    min-height: 18px;
    transition: color 0.2s;
}

.contact-form-status.success {
    color: #4ade80;
}

.contact-form-status.error {
    color: #f87171;
}

@media (max-width: 600px) {
    .contact-form { padding: 14px; }
    .contact-form-row { grid-template-columns: 1fr; gap: 8px; }
    .contact-form input,
    .contact-form textarea { font-size: 16px; padding: 11px 12px; }
    .contact-form-submit { width: 100%; justify-content: center; }
}
