/* =========================================================
   CLOSE
   ========================================================= */

.hidd {
    display: none !important;
}

.assistant-close-btn {
    position: absolute;
    z-index: 100000;

    top: 8px;
    right: 8px;

    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(7,148,163,.07);
    color: var(--primary-dark);

    transition:
        background .2s ease,
        transform .25s var(--ease),
        color .2s ease;
}

.assistant-close-btn:hover {
    background: var(--primary);
    color: #fff;

    transform: rotate(90deg) scale(1.05);
}

.assistant-close-btn svg {
    width: 16px;
    height: 16px;
}

/* =========================================================
   LANGUAGE
   ========================================================= */

.language-control {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 13px;

    width: 100%;
}

.language-control label {
    font-size: 11px;
    white-space: nowrap;
}

.language-select {
    flex: 1;

    width: 100%;
    height: 39px;

    padding: 0 10px;

    border: 1px solid rgba(7,148,163,.16);
    border-radius: var(--radius-sm);

    background: rgba(255,255,255,.76);

    color: var(--ink);

    font-size: 10.5px;
    font-weight: 600;

    outline: none;

    cursor: pointer;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}

.language-select:hover {
    border-color: rgba(7,148,163,.35);
}

.language-select:focus {
    border-color: var(--primary);

    box-shadow: 0 0 0 4px rgba(34,201,211,.08);
}

.language-select option {
    background: #fff;
    color: var(--ink);
}
/* =========================================================
   APP DOWNLOADS
   ========================================================= */

.apk-cards {

    width: 100%;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 8px;

    margin: 10px 0 4px;
}


/* =========================================================
   APP CARD
   ========================================================= */

.apk-card {

    min-width: 0;

    height: 58px;

    padding: 8px;

    display: flex;

    align-items: center;

    gap: 7px;

    background:
        rgba(255,255,255,.78);

    border:
        1px solid var(--border);

    border-radius:
        15px;

    text-decoration: none;

    color: var(--ink);

    box-shadow:
        var(--shadow-xs);

    transition:
        transform .25s var(--ease),
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.apk-card:hover {

    transform:
        translateY(-2px);

    border-color:
        rgba(34,201,211,.30);

    background:
        rgba(255,255,255,.95);

    box-shadow:
        var(--shadow-sm);
}


.apk-card:active {

    transform:
        scale(.97);
}


/* =========================================================
   ICON
   ========================================================= */

.apk-icon {

    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius:
        10px;

    background:
        linear-gradient(
            135deg,
            rgba(34,201,211,.11),
            rgba(7,148,163,.04)
        );
}


.android {

    width: 22px;
    height: 22px;

    object-fit: contain;
}


/* =========================================================
   TEXT
   ========================================================= */

.apk-card-text {

    min-width: 0;

    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 2px;

    overflow: hidden;
}


.apk-small {

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 7px;

    line-height: 1;

    font-weight: 700;

    color:
        var(--muted);
}


.apk-card-text strong {

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-family:
        var(--font-display);

    font-size: 9px;

    line-height: 1.15;

    font-weight: 800;

    color:
        var(--ink);
}


/* =========================================================
   ARROW
   ========================================================= */

.apk-arrow {

    width: 25px;
    height: 25px;

    flex: 0 0 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius:
        8px;

    background:
        var(--accent-wash);

    color:
        var(--accent-dark);

    font-size: 13px;

    font-weight: 800;

    transition:
        transform .25s var(--ease),
        background .25s ease;
}


.apk-card:hover .apk-arrow {

    transform:
        translateY(2px);

    background:
        #fff0dc;
}


/* =========================================================
   KÜÇÜK EKRAN
   ========================================================= */

@media (max-width: 420px) {

    .apk-cards {

        gap: 6px;

    }

    .apk-card {

        height: 54px;

        padding: 7px;

        gap: 5px;

        border-radius: 13px;
    }

    .apk-icon {

        width: 27px;
        height: 27px;

        flex-basis: 27px;
    }

    .android {

        width: 20px;
        height: 20px;
    }

    .apk-card-text strong {

        font-size: 8px;
    }

    .apk-arrow {

        width: 22px;
        height: 22px;

        flex-basis: 22px;

        font-size: 12px;
    }

}

/* =========================================================
   SIDEBAR LANGUAGE
   ========================================================= */

.sidebar-language {
    margin: 12px 3px 8px;

    padding: 11px;

    border: 1px solid rgba(7,148,163,.13);
    border-radius: 17px;

    background: linear-gradient(
        145deg,
        rgba(255,255,255,.86),
        rgba(240,250,250,.70)
    );

    box-shadow: var(--shadow-xs);

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}

.sidebar-language:hover {
    border-color: rgba(7,148,163,.25);
    box-shadow: var(--shadow-sm);
}

.sidebar-language-title {
    display: flex;
    align-items: center;
    gap: 7px;

    margin: 0 3px 8px;

    color: var(--muted);

    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 800;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.sidebar-language-icon {
    width: 22px;
    height: 22px;

    display: grid;
    place-items: center;

    border-radius: 7px;

    background: rgba(34,201,211,.09);

    font-size: 12px;
}

.sidebar-language-select-wrap {
    position: relative;

    width: 100%;
}

.sidebar-language-select {
    appearance: none;
    -webkit-appearance: none;

    width: 100%;
    height: 40px;

    padding: 0 38px 0 12px;

    border: 1px solid rgba(7,148,163,.13);
    border-radius: 12px;

    outline: none;

    background: rgba(255,255,255,.82);

    color: var(--ink);

    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: inset 0 1px 3px rgba(7,21,29,.025);

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.sidebar-language-select:hover {
    border-color: rgba(7,148,163,.30);
    background: #fff;
}

.sidebar-language-select:focus {
    border-color: var(--primary);

    background: #fff;

    box-shadow: 0 0 0 4px rgba(34,201,211,.08);
}

.sidebar-language-select option {
    background: #fff;
    color: var(--ink);

    font-weight: 600;
}

.sidebar-language-chevron {
    position: absolute;

    top: 50%;
    right: 12px;

    width: 14px;
    height: 14px;

    pointer-events: none;

    transform: translateY(-50%);

    color: var(--muted-light);

    transition:
        transform .25s var(--ease),
        color .25s ease;
}

.sidebar-language-select-wrap:focus-within .sidebar-language-chevron {
    color: var(--primary);

    transform: translateY(-50%) rotate(180deg);
}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {

    html,
    body {
        overflow: auto;
        position: static;
    }

    .app,
    .main {
        height: 100dvh;
        min-height: 100dvh;
        overflow: hidden;
    }

    .sidebar {
        width: min(305px,86vw);
        min-width: min(305px,86vw);

        box-shadow: 20px 0 55px rgba(7,21,29,.17);
    }

    .hero {
        position: relative;

        top: auto;
        left: auto;

        transform: none;

        width: calc(100% - 28px);

        margin: 76px auto 100px;

        padding-bottom: 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero > p {
        margin: 9px auto 18px;

        font-size: 11.5px;
    }

    .topic-grid {
        gap: 9px;
    }

    .topic-card {
        min-height: 78px;

        padding: 13px;

        border-radius: var(--radius-md);

        gap: 8px;
    }

    .topic-card svg {
        width: 18px;
        height: 18px;
    }

    

    .chat-view {
        width: calc(100% - 24px);

        top: 70px;
        bottom: 90px;
    }

    .bubble,
    .suggestion-container {
        max-width: 90%;
    }

    .bubble {
        padding: 11px 13px;

        font-size: 12px;
    }

    .refresh-btn {
        height: 39px;

        padding: 0 12px;
    }
.aas{
    right: 0px!important;
}
    .composer-wrap {
        position: fixed;

        left: 12px;
        right: 12px;

        bottom: max(12px,env(safe-area-inset-bottom));

        width: auto;

        transform: none;

        z-index: 200;
    }

    .composer {
        width: 100%;

        height: 58px;

        padding: 6px 7px 6px 16px;

        border-radius: 999px;
    }

    .composer input {
        width: 100%;
        min-width: 0;

        font-size: 13px;
    }

    .send-btn {
        width: 44px;
        height: 44px;

        flex-shrink: 0;
    }

    .footer-note {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .ai-assistant-card.speaking {
        width: min(465px,91vw);

        padding: 24px;

        border-radius: 31px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .ai-assistant-card {
        width: 152px;

        right: 11px;
        bottom: 80px;

        padding: 9px;

        border-radius: var(--radius-lg);
    }

    .assistant-content h3 {
        font-size: 10px;
    }

    .assistant-content p {
        display: none;
    }

    .speech-controls,
    .speed-control {
        margin-top: 7px;
    }

    .speak-trigger-btn,
    .stop-speech-btn {
        height: 31px;
    }

    .speak-trigger-btn {
        font-size: 8.5px;
    }

    .ai-assistant-card.speaking {
        width: 93vw;

        padding: 17px;

        border-radius: 27px;
    }

    .ai-assistant-card.speaking .assistant-content h3 {
        font-size: 14px;
    }

    .ai-assistant-card.speaking .assistant-content p {
        display: block;

        font-size: 10.5px;
    }

    .complaint-card {
        margin-left: 1px;
        margin-right: 1px;

        border-radius: 16px;
    }

    .complaint-toggle {
        min-height: 57px;

        padding: 8px 10px;
    }

    .complaint-icon {
        width: 35px;
        height: 35px;
        min-width: 35px;

        font-size: 14px;
    }

    .complaint-title span {
        font-size: 10.5px;
    }

    .complaint-content {
        padding: 0 10px 10px;
    }

    .complaint-form input {
        height: 37px;

        font-size: 9px;
    }

    .complaint-form button {
        width: 37px;
        height: 37px;
        min-width: 37px;
    }

    .sidebar-language {
        margin-left: 1px;
        margin-right: 1px;

        border-radius: 15px;
    }

    .sidebar-language-select {
        height: 42px;

        font-size: 10.5px;
    }

    .quick-link {
        min-height: 40px;
    }
}

/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .ai-assistant-card {
        width: 126px;
    }

    .hero h1 {
        font-size: 23px;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
/* =========================================================
   YADYO AI - FLOATING ROBOT BUTTON
   ========================================================= */

.aas {
    position: fixed;
    right: 75px;
    bottom: 100px;

    width: 150px;
    height: 150px;

    padding: 0;
    margin: 0;

    border: 0;
    outline: none;

    border-radius: 50%;

    background: transparent !important;
    background-color: transparent !important;

    box-shadow: none;

    overflow: hidden;

    cursor: pointer;

    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.aas:hover {
    transform: scale(1.08);
    filter: brightness(1.08);
}

.aas:active {
    transform: scale(0.94);
}

.robot-video-main2 {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border: none;
    outline: none;

    background: transparent !important;

    border-radius: 50%;
}
/* =========================================================
   SESLİ KONUŞMA BUTONU
   ========================================================= */

.voice-btn {
    flex-shrink: 0;
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    background: transparent;

    color: var(--muted);
    cursor: pointer;

    border-radius: 12px;

    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.voice-btn svg {
    width: 20px;
    height: 20px;

    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.voice-btn:hover {
    color: var(--primary);
    background: var(--primary-wash);
}

.voice-btn:active {
    transform: scale(.92);
}

/* Dinlerken */

.voice-btn.listening {
    color: #fff;
    background: var(--primary);

    animation: voicePulse 1.4s infinite;
}

@keyframes voicePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(7,148,163,.35);
    }

    70% {
        box-shadow: 0 0 0 9px rgba(7,148,163,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(7,148,163,0);
    }
}.ios-install-modal {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .25s var(--ease),
        visibility .25s var(--ease);
}


/* Açık */

.ios-install-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* Arka plan */

.ios-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(5, 21, 28, .58);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* Modal */

.ios-modal {
    position: relative;

    width: min(100%, 520px);
    max-height: min(90vh, 760px);

    overflow-y: auto;

    padding: 34px;

    border: 1px solid rgba(255,255,255,.75);
    border-radius: var(--radius-2xl);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(248,252,252,.96)
        );

    box-shadow:
        0 35px 100px rgba(4,22,29,.28),
        0 8px 30px rgba(7,148,163,.10);

    transform: translateY(24px) scale(.96);

    transition:
        transform .35s var(--ease-spring);

}


/* Modal açılınca */

.ios-install-modal.active .ios-modal {
    transform: translateY(0) scale(1);
}


/* Kapat */

.ios-modal-close {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(7,148,163,.07);

    color: var(--ink-soft);

    font-size: 25px;
    line-height: 1;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.ios-modal-close:hover {
    background: rgba(228,91,91,.10);
    color: var(--danger);

    transform: rotate(90deg);
}


/* Apple Icon */

.ios-modal-icon {
    width: 76px;
    height: 76px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #eef8f8,
            #ffffff
        );

    box-shadow:
        inset 0 0 0 1px rgba(7,148,163,.08),
        0 10px 30px rgba(7,21,29,.07);
}

.ios-modal-icon img {
    width: 40px;
    height: 40px;

    object-fit: contain;
}


/* Header */

.ios-modal-header {
    text-align: center;

    padding: 0 30px;
}

.ios-modal-label {
    display: inline-block;

    margin-bottom: 7px;

    font-family: var(--font-display);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .14em;
    text-transform: uppercase;

    color: var(--primary);
}

.ios-modal-header h2 {
    margin: 0 0 10px;

    font-family: var(--font-display);

    font-size: clamp(24px, 5vw, 31px);
    font-weight: 800;

    letter-spacing: -.035em;

    color: var(--ink);
}

.ios-modal-header p {
    margin: 0 auto;

    max-width: 390px;

    font-size: 14px;
    line-height: 1.65;

    color: var(--muted);
}


/* Bilgi kutusu */

.ios-info-box {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin-top: 24px;
    padding: 15px 16px;

    border: 1px solid rgba(7,148,163,.10);
    border-radius: var(--radius-md);

    background:
        linear-gradient(
            135deg,
            rgba(34,201,211,.10),
            rgba(7,148,163,.045)
        );
}

.ios-info-icon {
    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(7,148,163,.12);

    color: var(--primary);

    font-weight: 800;
}

.ios-info-box strong {
    display: block;

    margin-bottom: 3px;

    font-size: 13px;
    font-weight: 700;

    color: var(--ink);
}

.ios-info-box p {
    font-size: 12px;
    line-height: 1.5;

    color: var(--muted);
}


/* Steps */

.ios-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-top: 22px;
}


/* Tek step */

.ios-step {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    padding: 13px 14px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: rgba(255,255,255,.72);

    transition:
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.ios-step:hover {
    border-color: var(--border-hover);

    transform: translateX(3px);

    box-shadow: var(--shadow-xs);
}


/* Numara */

.ios-step-number {
    flex: 0 0 auto;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-light)
        );

    color: white;

    font-family: var(--font-display);

    font-size: 13px;
    font-weight: 800;

    box-shadow:
        0 7px 16px rgba(7,148,163,.20);
}


/* Step yazıları */

.ios-step-content {
    min-width: 0;
}

.ios-step-content strong {
    display: block;

    margin-bottom: 3px;

    font-size: 13px;
    font-weight: 700;

    color: var(--ink);
}

.ios-step-content p {
    margin: 0;

    font-size: 12px;
    line-height: 1.5;

    color: var(--muted);
}

.ios-step-content b {
    color: var(--primary-dark);
}


/* Ana buton */

.ios-modal-action {
    width: 100%;

    margin-top: 22px;
    padding: 14px 20px;

    border-radius: var(--radius-md);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-light)
        );

    color: white;

    font-family: var(--font-display);

    font-size: 14px;
    font-weight: 800;

    box-shadow: var(--shadow-primary);

    transition:
        transform .2s var(--ease),
        box-shadow .2s ease;
}

.ios-modal-action:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 35px rgba(7,148,163,.30);
}

.ios-modal-action:active {
    transform: translateY(0);
}


/* =========================================================
   iOS MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .ios-install-modal {
        padding: 14px;
        align-items: flex-end;
    }

    .ios-modal {
        width: 100%;
        max-height: 92vh;

        padding: 27px 19px 20px;

        border-radius: 27px 27px 20px 20px;

        transform: translateY(35px) scale(.98);
    }

    .ios-modal-header {
        padding: 0 15px;
    }

    .ios-modal-icon {
        width: 65px;
        height: 65px;

        border-radius: 20px;
    }

    .ios-modal-icon img {
        width: 34px;
        height: 34px;
    }

    .ios-modal-header h2 {
        font-size: 24px;
    }

    .ios-modal-header p {
        font-size: 13px;
    }

    .ios-info-box {
        margin-top: 19px;
    }

    .ios-step {
        padding: 12px;
    }

    .ios-step-number {
        width: 30px;
        height: 30px;
    }

}
body.ios-modal-open {
    overflow: hidden;
}
/* Modal scrollbar gizle */
.ios-modal {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ios-modal::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}