/* =============================================
   AUTH MODAL (Sign In / Sign Up)
   ============================================= */
.auth-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    backdrop-filter: blur(5px);
    overflow-y: auto;

    &.active {
        display: flex !important;
        animation: authModalFadeIn 0.3s ease;
    }
}

@keyframes authModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.auth-modal {
    & .modal-box {
        display: flex;
        gap: 20px;
        max-width: 1128px;
        width: 100%;
    }

    & .promo-panel {
        flex: 0 0 42%;
        min-height: 506px;
        border-radius: 30px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        padding: 40px 30px;
        color: #fff;
        text-align: center;
        position: relative;
        overflow: hidden;

        & .logo {
            margin-bottom: 20px;
        }

        & .title {
            font-size: 30px;
            font-weight: 700;
            margin-bottom: 20px;
            color: #fff;
        }

        & .desc {
            font-size: 16px;
            font-weight: 500;
            color: #fff;
        }
    }

    & .form-panel {
        flex: 1;
        background: #fff;
        border-radius: 30px;
        padding: 40px;

        & .auth-form-content {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        & .auth-header .title {
            font-size: 24px;
            font-weight: 700;
            color: #ff5601;
            margin-bottom: 10px;
        }

        & .auth-header .subtitle {
            font-size: 18px;
            color: #7a7f99;
        }

        & .social-btns {
            display: flex;
            gap: 14px;
        }

        & .social-btn {
            flex: 1;
            height: 50px;
            background: #f9fafb;
            border: 1px solid rgba(234, 234, 237, 0.5);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            text-decoration: none;
            transition: background 0.2s, border-color 0.2s;

            &:hover {
                background: #f0f1f3;
                border-color: #d1d5db;
            }
        }

        & .form {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        & .field {
            height: 66px;
            background: #f9fafb;
            border: 2px solid rgba(234, 234, 237, 0.5);
            border-radius: 15px;
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 0 15px;

            &:focus-within {
                border-color: #ff5601;
            }
        }

        & .field .icon {
            font-size: 18px;
            color: #666f94;
            width: 24px;
            text-align: center;
        }

        & .field .divider {
            width: 1px;
            height: 20px;
            background: rgba(102, 111, 148, 0.1);
        }

        & .field input {
            flex: 1;
            border: none;
            background: none;
            font-size: 16px;
            outline: none;

            &::placeholder {
                color: #666f94;
            }
        }

        & .field .toggle-pass {
            background: none;
            border: none;
            color: #666f94;
            cursor: pointer;
        }

        & .forgot {
            text-align: right;
        }

        & .forgot a {
            color: #7a7f99;
            text-decoration: none;
        }

        & .submit-btn {
            height: 50px;
            background: #ff5601;
            border: none;
            border-radius: 12px;
            color: #fff;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            cursor: pointer;
            transition: background 0.2s;

            &:hover {
                background: #e64e00;
            }
        }

        & .switch-form {
            text-align: center;
            color: #7a7f99;
            margin-top: auto;
        }

        & .switch-form a {
            color: #ff5601;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
        }

        /* Phone Field */
        & .phone-field {
            padding: 0 15px 0 10px;
            position: relative;
        }

        & .country-selector {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(234, 234, 237, 0.5);
            border: none;
            padding: 11px 10px;
            border-radius: 14px;
            cursor: pointer;
            transition: background 0.2s;

            & img {
                border-radius: 2px;
            }

            & .country-code-text {
                font-weight: 600;
                color: #33353e;
            }

            &:hover {
                background: rgba(234, 234, 237, 0.8);
            }
        }

        & .country-dropdown {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            z-index: 100;
            max-height: 200px;
            overflow-y: auto;
            margin-top: 5px;

            &.is-open {
                display: block;
            }
        }

        & .country-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 15px;
            cursor: pointer;
            transition: background 0.2s;

            & img {
                border-radius: 2px;
            }

            & .name {
                flex: 1;
                color: #33353e;
            }

            & .code {
                color: #666f94;
                font-weight: 600;
            }

            &:hover {
                background: #f5f7fd;
            }
        }

        /* New Password Box */
        & .new-password-box {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #f9fafb;
            border-radius: 12px;
            padding: 12px 15px;
            margin-bottom: 16px;

            & .label {
                color: #7a7f99;
                font-size: 13px;
                white-space: nowrap;
            }

            & input {
                flex: 1;
                border: none;
                background: transparent;
                outline: none;
                color: #ff5601;
                font-size: 18px;
                font-weight: 700;
                letter-spacing: 1px;
                font-family: 'Courier New', monospace;
            }

            & button {
                background: #7844e4;
                border: none;
                color: #fff;
                cursor: pointer;
                font-size: 14px;
                padding: 8px 12px;
                border-radius: 8px;
                transition: background 0.2s;

                &:hover {
                    background: #6535c7;
                }
            }
        }

        /* Forgot Steps */
        & .forgot-step {
            display: none;

            &.active {
                display: flex;
                flex-direction: column;
                gap: 16px;
            }
        }
    }

    /* Auth Images in Promo Panel */
    & .auth-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }

    & .auth-image.signin-image {
        display: block;
    }

    & .auth-image.signup-image {
        display: none;
    }

    /* Signup Theme (Purple) */
    & .promo-panel[data-theme="signup"] {
        & .auth-image.signin-image { 
            display: none !important; 
            opacity: 0;
            visibility: hidden;
        }
        & .auth-image.signup-image { 
            display: block !important; 
            opacity: 1;
            visibility: visible;
        }

        &::after {
            background: linear-gradient(180deg, transparent 40%, #7844e4 85%);
        }
    }
    

    /* Signin/Forgot Theme (Orange) */
    & .promo-panel::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 42%, #ff5601 88%);
        z-index: 1;
    }

    & .promo-content {
        position: relative;
        z-index: 2;
        color: #fff;
    }

    & .form-panel[data-theme="signup"] {
        & .auth-header .title {
            color: #7844e4;
        }

        & .field:focus-within {
            border-color: #7844e4;
        }

        & .submit-btn {
            background: #7844e4;

            &:hover {
                background: #6535c7;
            }
        }

        & .switch-form a {
            color: #7844e4;
        }
    }

    /* Forgot Theme (Orange) */
    & .form-panel[data-theme="forgot"] {
        & .auth-header .title {
            color: #ff5601;
        }

        & .field:focus-within {
            border-color: #ff5601;
        }

        & .submit-btn {
            background: #ff5601;

            &:hover {
                background: #e64e00;
            }
        }

        & .switch-form a {
            color: #ff5601;
        }
    }

    @media (max-width: 991px) {
        & .modal-box {
            flex-direction: column;
        }

        & .promo-panel {
            flex: none;
            min-height: 250px;
        }

        & .form-panel {
            padding: 30px;
        }
    }

    @media (max-width: 575px) {
        padding: 10px;

        & .promo-panel {
            min-height: 180px;
            padding: 30px 20px;
            border-radius: 20px;
        }

        & .promo-panel .title {
            font-size: 24px;
        }

        & .form-panel {
            padding: 24px;
            border-radius: 20px;
        }

        & .form-panel .auth-header .title {
            font-size: 20px;
        }

        & .form-panel .field {
            height: 56px;
        }
    }
}

/* Signup image visibility fix - Direct CSS */
.auth-modal .promo-panel[data-theme="signup"] .auth-image.signin-image {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.auth-modal .promo-panel[data-theme="signup"] .auth-image.signup-image {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/**
 * Search Order Modal CSS
 * Sipariş Sorgula & Telafi Talep Modal Stilleri
 * @version 1.1 - Floating Label Eklendi
 * @path themes/hyper/assets/css/search-modal.css
 */

/* SEARCH ORDER MODAL */
.search-modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 9999;
    padding: 20px;
    background: rgba(23, 26, 38, 0.8);
    backdrop-filter: blur(4px);

    &.active {
        display: flex;
    }

    & .modal-box {
        position: relative;
        z-index: 1;
        display: flex;
        gap: 20px;
        max-width: 1060px;
        width: 100%;
        animation: searchModalIn 0.35s ease-out;
    }

    & .promo-panel {
        flex: 0 0 318px;
        min-height: 318px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        padding-bottom: 25px;
        border-radius: 30px;
        overflow: hidden;
        background-image: 
            linear-gradient(180deg, rgba(254, 80, 11, 0) 66%, #fe500b 100%), 
            var(--promo-bg);
        background-size: cover;
        background-position: center top;

        & .logo {
            & svg {
                width: 35px;
                height: auto;
            }

            & img {
                width: 35px;
                filter: brightness(0) invert(1);
            }
        }
    }

    & .form-panel {
        flex: 1;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 60px 40px;
        background: #fff;
        border-radius: 30px;
        box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    }

    & .close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 10;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        background: rgba(0, 0, 0, 0.05);
        border-radius: 12px;
        color: #666f94;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.2s;

        &:hover {
            background: rgba(254, 80, 11, 0.1);
            color: #fe500b;
        }
    }

    & .search-form-content {
        width: 100%;
        max-width: 640px;
    }

    & .search-title {
        text-align: center;
        margin-bottom: 30px;

        & .icon {
            color: #fe500b;
            font-size: 24px;
        }

        & .title {
            display: block;
            font-size: 24px;
            font-weight: 700;
            color: #33353e;
            margin-bottom: 10px;
        }

        & .subtitle {
            font-size: 18px;
            font-weight: 500;
            color: #7a7f99;
            margin: 0;
        }
    }

    & .form {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    & .field {
        display: flex;
        align-items: center;
        gap: 15px;
        height: 68px;
        padding: 16px;
        background: #f9fafb;
        border: 1px solid rgba(234, 234, 237, 0.7);
        border-radius: 16px;

        & > i,
        & > span:first-child {
            color: #666f94;
            font-size: 18px;
            opacity: 0.8;
        }

        & .divider {
            width: 1px;
            height: 34px;
            background: rgba(102, 111, 148, 0.1);
            border-radius: 27px;
        }

        & .input-wrap {
            flex: 1;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-height: 36px;

            & .label {
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                font-size: 14px;
                font-weight: 500;
                color: #99a0b8;
                pointer-events: none;
                transition: all 0.2s ease;
            }

            & input {
                border: none;
                background: transparent;
                font-size: 16px;
                font-weight: 600;
                color: #33353e;
                outline: none;
                padding: 0;
                padding-top: 12px;

                &::placeholder {
                    color: transparent;
                }
            }

            /* Floating Label - Focus & Has Value */
            &:focus-within .label,
            &.has-value .label {
                top: -5px;
                transform: translateY(0);
                font-size: 12px;
                color: #fe500b;
            }
        }

        & .submit-btn {
            width: 110px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #fe500b;
            border: none;
            border-radius: 14px;
            color: #fff;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;

            &:hover {
                background: #e54509;
            }
        }
    }

    /* Full width submit button */
    & .submit-btn {
        width: 100%;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fe500b;
        border: none;
        border-radius: 16px;
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;

        &:hover {
            background: #e54509;
        }

        &[data-theme="purple"] {
            background: #7c3aed;

            &:hover {
                background: #6d28d9;
            }
        }
    }

    /* Purple Theme */
    & .promo-panel[data-theme="purple"] {
        background-image: 
            linear-gradient(180deg, rgba(124, 58, 237, 0) 66%, #7c3aed 100%), 
            var(--promo-bg);
    }

    & .search-title[data-theme="purple"] {
        & .icon {
            color: #7c3aed;
        }
    }

    &[data-theme="purple"] .close-btn:hover {
        background: rgba(124, 58, 237, 0.1);
        color: #7c3aed;
    }

    /* Purple Theme - Floating Label */
    &[data-theme="purple"] .input-wrap:focus-within .label,
    &[data-theme="purple"] .input-wrap.has-value .label {
        color: #7c3aed;
    }
}

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

/* Tablet */
@media (max-width: 991px) {
    .search-modal {
        & .modal-box {
            flex-direction: column;
        }

        & .promo-panel {
            flex: none;
            min-height: 200px;
        }

        & .form-panel {
            padding: 40px 30px;
        }
    }
}

/* Mobile */
@media (max-width: 575px) {
    .search-modal {
        padding: 10px;

        & .promo-panel {
            min-height: 150px;
            border-radius: 20px;
        }

        & .form-panel {
            padding: 30px 20px;
            border-radius: 20px;
        }

        & .search-title {
            & .title {
                font-size: 20px;
            }

            & .subtitle {
                font-size: 15px;
            }
        }

        & .field {
            flex-wrap: wrap;
            height: auto;
            gap: 12px;

            & > i,
            & > svg,
            & > span:first-child,
            & .divider {
                display: none;
            }

            & .input-wrap {
                flex: 1 1 100%;
            }

            & .submit-btn {
                width: 100%;
            }
        }
    }
}

/**
 * Services Section - Scoped Nested CSS
 * Sınırsız Servis Hizmetlerimiz Bölümü
 * @version 1.0
 */

.services-section {
    padding: 40px 0;

    /* Header */
    & .services-header {
        text-align: center;
        margin-bottom: 40px;
    }

    & .services-title {
        font-size: 30px;
        font-weight: 600;
        color: #4c5473;
        margin-bottom: 10px;

        & span[data-theme="orange"] {
            color: #ff5601;
        }
    }

    & .services-subtitle {
        font-size: 16px;
        color: #666f94;
        margin: 0;
    }

    /* Bento Grid */
    & .services-bento {
        display: flex;
        gap: 16px;
        align-items: stretch;
        justify-content: center;
    }

    /* Kolonlar - Figma: 300px */
    & .services-col {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 330px;
        flex-shrink: 0;
    }

    /* Service Card */
    & .service-card {
        background: #fff;
        border-radius: 20px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 16px;
        flex: 1;
        text-align: left !important;
    }

    & .card-head {
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: flex-start;
        width: 100%;

        & h3 {
            font-size: 18px;
            font-weight: 700;
            color: #33353e;
            margin: 0;
            text-transform: capitalize;
            text-align: left !important;
        }
    }

    & .service-card > p {
        font-size: 15px;
        color: #666f94;
        line-height: 1.65;
        margin: 0;
        text-align: left !important;
    }

    /* Icon Wrap - CSS Variable ile dinamik renk */
    & .icon-wrap {
        --icon-color: #0f7fd3;
        width: 36px;
        height: 36px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background: color-mix(in srgb, var(--icon-color) 10%, transparent);

        & svg,
        & i {
            width: 20px;
            height: 20px;
            font-size: 18px;
            color: var(--icon-color);
            fill: var(--icon-color);
        }
    }

    /* Video Center - Figma: 489px wrapper, 457px content */
    & .services-center {
        width: 489px;
        flex-shrink: 0;
        background: #fff;
        border-radius: 20px;
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    & .video-preview {
        background-color: #f5f5f6;
        border-radius: 20px;
        height: 258px;
        width: 100%;
        overflow: hidden;

        & .video-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 20px;
        }
    }

    & .video-info {
        display: flex;
        flex-direction: column;
        gap: 16px;

        & h3 {
            font-size: 18px;
            font-weight: 700;
            color: #33353e;
            margin: 0;
            text-transform: capitalize;
        }

        & p {
            font-size: 15px;
            color: #666f94;
            line-height: 1.65;
            margin: 0;
        }
    }

    /* Responsive */
    @media (max-width: 1024px) {
        & .services-bento {
            flex-wrap: wrap;
            justify-content: center;
        }

        & .services-col {
            width: calc(50% - 8px);
        }

        & .services-center {
            order: -1;
            width: 100%;
        }
    }

    @media (max-width: 768px) {
        padding: 60px 0;

        & .services-title {
            font-size: 24px;
        }

        & .services-bento {
            flex-direction: column;
        }

        & .services-col {
            width: 100%;
            flex-direction: row;
        }

        & .service-card {
            flex: 1;
        }
    }

    @media (max-width: 576px) {
        padding: 40px 0;

        & .services-col {
            flex-direction: column;
        }

        & .video-preview {
            height: 180px;
        }
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;

    & .faq-visual {
        display: grid;
        place-items: center;
        min-height: 480px;
    }

    & .ellipse {
        grid-area: 1/1;
        border-radius: 50%;

        &.outer {
            width: 100%;
            max-width: 458px;
            aspect-ratio: 1;
            border: 3px solid #EDE5FF;
        }

        &.inner {
            width: 90%;
            max-width: 414px;
            aspect-ratio: 1;
            background: #EDE5FF;
        }
    }

    & .character {
        grid-area: 1/1;
        max-width: 316px;
        z-index: 2;
        position: relative;
        width: 100%;
        height: 474px;

        & .image-wrapper {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: none;
            pointer-events: none;
        }

        & .image-wrapper.active {
            display: block;
        }

        & .image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: opacity 0.4s ease;
            animation: fadeInImage 0.4s ease forwards;
        }

        @keyframes fadeInImage {
            from { opacity: 0; }
            to { opacity: 1; }
        }
    }

    & .crown {
        grid-area: 1 / 1;
        width: 75px;
        height: 75px;
        background: #fff;
        border-radius: 50%;
        display: grid;
        place-items: center;
        box-shadow: 0 4px 20px rgba(120, 68, 228, 0.15);
        justify-self: start;
        z-index: 3;

        & .icon-symbol {
            font-size: 24px;
            color: #7844E4;
        }
    }

    & .notify {
        grid-area: 1/1;
        display: flex;
        gap: 10px;
        padding: 12px;
        background: #fff;
        border-radius: 18px;
        box-shadow: 0 0 15px rgba(120, 68, 228, 0.2);
        z-index: 4;

        &.left {
            justify-self: start;
            align-self: end;
            margin-bottom: 20px;
        }

        &.right {
            justify-self: end;
            align-self: center;
            margin-right: 10px;
            margin-top: 100px;
        }

        & .icon {
            width: 40px;
            height: 40px;
            background: #7844E4;
            border-radius: 11px;
            display: grid;
            place-items: center;

            & .icon-symbol {
                color: #fff;
            }
        }

        & .text {
            display: flex;
            flex-direction: column;
        }

        & .name {
            color: #33353E;
            font-size: 16px;
            font-weight: 600;
        }

        & .desc {
            color: #666F94;
            font-size: 14px;
        }
    }

    & .faq-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    & .title {
        font-size: 30px;
        font-weight: 600;
        line-height: 1.3;
        color: #33353E;
        margin: 0;

        & .highlight {
            display: block;
            color: #7844E4;
        }
    }

    & .accordion {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    & .item {
        display: flex;
        flex-direction: column;
        gap: 10px;

        & .head {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        & .question {
            font-size: 18px;
            font-weight: 500;
            color: #33353E;
            line-height: 39px;
        }

        & .toggle {
            width: 30px;
            height: 30px;
            background: rgba(102, 111, 148, 0.1);
            border: none;
            border-radius: 8px;
            display: grid;
            place-items: center;
            cursor: pointer;

            & .icon-symbol {
                font-size: 14px;
                color: #666F94;
                transition: transform 0.3s;
            }
        }

        & .answer {
            font-size: 16px;
            font-weight: 500;
            color: #7A7F99;
            line-height: 22px;
            margin: 0;
            display: none;
        }

        & .line {
            height: 2px;
            background: rgba(102, 111, 148, 0.1);
            border-radius: 14px;
        }

        & .progress {
            height: 2px;
            background: rgba(102, 111, 148, 0.1);
            border-radius: 14px;

            & .fill {
                display: block;
                width: 76%;
                height: 100%;
                background: #7844E4;
                border-radius: 14px;
            }
        }

        &.active {
            & .answer {
                display: block;
            }

            & .toggle .icon-symbol {
                transform: rotate(180deg);
            }
        }
    }

    @media (max-width: 991px) {
        padding: 60px 0;

        & .row {
            flex-direction: column;
            gap: 40px;
        }

        & .faq-visual {
            min-height: 450px;
            margin: 0 auto;
        }

        & .ellipse {
            &.outer {
                max-width: 398px;
            }

            &.inner {
                max-width: 360px;
            }
        }

        & .character {
            max-width: 275px;
        }

        & .crown {
            width: 50px;
            height: 50px;
            margin-top: 100px;

            & .icon-symbol {
                font-size: 18px;
            }
        }

        & .notify {
            padding: 10px;

            &.left {
                margin-bottom: 60px;
                margin-left: 12px;
            }

            &.right {
                margin: 0 0 120px 82px;
            }

            & .icon {
                width: 36px;
                height: 36px;
                border-radius: 10px;
            }

            & .name {
                font-size: 15px;
            }
        }

        & .faq-content {
            max-width: 100%;
        }

        & .title {
            font-size: 23px;
            line-height: 35px;
        }
    }

    @media (max-width: 575px) {
        padding: 40px 0;

        & .faq-visual {
            min-height: 400px;
            transform: scale(0.9);
            transform-origin: center top;
        }

        & .notify {
            & .text {
                max-width: 180px;
            }

            & .desc {
                font-size: 13px;
            }
        }

        & .title {
            font-size: 20px;
            line-height: 30px;
        }

        & .question {
            font-size: 16px;
            line-height: 32px;
        }

        & .answer {
            font-size: 15px;
            line-height: 22px;
        }

        & .progress {
            & .fill {
                width: 69%;
            }
        }
    }
}

/* ===============================================================
   SITE FOOTER - Figma: 69-32460
   =============================================================== */

.site-footer {
    background: #171a26;
    border-top: 10px solid #7844e4;
    padding: 110px 0 26px;
    color: #fff;
    font-size: 14px;
    margin-top:90px;
  
    & a {
      color: inherit;
      text-decoration: none;
    }
  
    & h3, & h4, & p {
      margin: 0;
    }
  
    /* Top Section */
    & .footer-top {
      display: flex;
      gap: 30px;
      margin-bottom: 30px;
    }
  
    /* Address Card */
    & .address-card {
      background: #7844e4;
      border-radius: 30px;
      padding: 25px 30px;
      width: 459px;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      gap: 20px;
  
      & .footer-head {
        display: flex;
        align-items: center;
        gap: 9px;
  
        & svg {
          padding: 12px;
          background: rgba(255, 255, 255, 0.1);
          border-radius: 12px;
        }
  
        & .info strong {
          display: block;
          font-size: 22px;
        }
  
        & .info span {
          display: block;
          font-size: 16px;
          opacity: 0.69;
          font-weight: 400;
        }
      }
  
      & > p {
        font-size: 14px;
        font-weight: 500;
        line-height: 26px;
        color: #fff;
      }
  
      & .buttons {
        display: flex;
        gap: 7px;
  
        & .btn {
          flex: 1;
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 5px;
          height: 46px;
          background: rgba(255, 255, 255, 0.13);
          border-radius: 12px;
          color: #fff;
          font-size: 15px;
          font-weight: 400;
  
          & svg {
            width: 15px;
            height: 15px;
          }
  
          &:hover {
            background: rgba(255, 255, 255, 0.2);
          }
        }
      }
    }
  
    /* Footer Menus */
    & .footer-menus {
      flex: 1;
      border: 2px solid #282c3c;
      border-bottom: none;
      border-radius: 30px 30px 0 0;
      position: relative;
      padding-top: 20px;
  
      & .title {
        position: absolute;
        top: 0;
        left: 22px;
        transform: translateY(-50%);
        display: inline-block;
        background: #1c1f2a;
        border: 1px solid #282c3d;
        border-radius: 37px;
        padding: 10px 16px;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: #fff;
        line-height: 14px;
      }
  
      & .wrapper {
        display: flex;
        padding: 10px 0px 0px 20px;
      }
  
      & .sidebar {
        list-style: none;
        margin: 0;
        padding: 0;
        width: 250px;
  
        & li {
          display: flex;
          align-items: center;
          gap: 10px;
          padding: 16px;
          border-radius: 16px 0 0 16px;
          cursor: pointer;
  
          &:hover, &.active {
            background: #1c1f2a;
          }
  
          & i {
            width: 36px;
            height: 36px;
            border: 1.2px solid rgba(255, 255, 255, 0.2);
            border-radius: 11px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #fff;
          }
  
          & .text span:first-child {
            display: block;
            font-size: 18px;
            font-weight: 600;
            color: #fff;
          }
  
          & .text span:last-child {
            display: block;
            font-size: 16px;
            color: rgba(255, 255, 255, 0.6);
          }
        }
      }
  
      & .content {
        flex: 1;
        padding-right: 30px;
      }
  
      & .pane {
        display: none;
        background: #1c1f2a;
        border-radius: 16px;
        padding: 30px;
  
        &.active {
          display: block;
        }
      }
  
      & .grid {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 35px;
  
        & a {
          display: flex;
          align-items: center;
          gap: 10px;
  
          &:hover {
            opacity: 0.8;
          }
        }
  
        & i {
          width: 33px;
          height: 33px;
          border: 1px solid rgba(255, 255, 255, 0.2);
          border-radius: 9px;
          display: flex;
          align-items: center;
          justify-content: center;
          background-color: #68718c;
        }
  
        & .text span:first-child {
          display: block;
          font-size: 14px;
          font-weight: 600;
          line-height: 22px;
          color: #fff;
        }
  
        & .text span:last-child {
          display: block;
          font-size: 12px;
          font-weight: 500;
          line-height: 18px;
          color: rgba(255, 255, 255, 0.6);
        }
      }
  
      & .show-all {
        display: none; /* Desktop'ta gizli, sadece mobilde görünür */
        width: 100%;
        margin-top: 20px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        color: inherit;
        cursor: pointer;
  
        &:hover {
          background: rgba(255, 255, 255, 0.15);
        }
      }
    }
  
    /* Footer Bottom */
    & .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 21px 0;
      border-bottom: 2px solid #282c3c;
  
      & .brand {
        display: flex;
        align-items: center;
        gap: 17px;
  
        & .logo {
          height: 43px;
          background: #1c1f2a;
          border-radius: 14px;
          padding: 10px;
        }
  
        & .payments {
          display: flex;
          align-items: center;
          gap: 8px;
        }
      }
  
      & .badges {
        display: flex;
        gap: 10px;
  
        & img {
          height: 43px;
          width: 135px;
        }
      }
    }
  
    /* Copyright */
    & .copyright {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 21px;
  
      & .socials {
        display: flex;
        gap: 16px;
  
        & a {
          width: 32px;
          height: 32px;
          background: #1c1f2a;
          border-radius: 8px;
          display: flex;
          align-items: center;
          justify-content: center;
  
          &:hover {
            background: #282c3c;
          }
        }
      }
    }
  }
  
  /* Responsive - Tablet */
@media (max-width: 1200px) {
    .site-footer {
      & .footer-top {
        flex-direction: column;
      }
  
      & .address-card {
        width: 100%;
      }
  
      & .footer-menus .grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
}

  /* Desktop - Masaüstünde tüm öğeler görünür */
@media (min-width: 769px) {
    .site-footer {
      & .footer-menus {
        & .pane .grid li,
        & .pane:not(.expanded) .grid li,
        & .pane:not(.expanded) .grid li:nth-child(n+6) {
          display: block !important;
        }
      }
    }
}
  
  /* Responsive - Mobile */
@media (max-width: 768px) {
    .site-footer {
      padding: 110px 0;
      border-top-width: 8px;
  
      & .footer-top {
        gap: 20px;
      }
  
      & .address-card {
        max-width: 398px;
        margin: 0 auto;
        padding: 25px 30px;
        gap: 16px;
  
        & .footer-head .info strong {
          font-size: 20px;
        }
  
        & .footer-head .info span {
          font-size: 14px;
        }
      }
  
      & .footer-menus {
        max-width: 398px;
  
        & .title {
          display: none;
        }
  
        & .wrapper {
          flex-direction: column;
          padding: 0;
        }
  
        & .sidebar {
          display: flex;
          width: 100%;
  
          & li {
            flex: 1;
            flex-direction: column;
            gap: 6px;
            padding: 12px;
            border-radius: 16px 16px 0 0;
            text-align: center;
  
            & .text {
              text-align: center;
  
              & span:first-child {
                font-size: 16px;
              }
  
              & span:last-child {
                font-size: 14px;
              }
            }
          }
        }
  
        & .content {
          padding: 0;
        }
  
        & .pane {
          border-radius: 16px;
          padding: 20px;
        }
  
        & .grid {
          grid-template-columns: 1fr;
          gap: 30px;
        }

        /* Mobilde de başlangıçta 5 öğe göster */
        & .pane:not(.expanded) .grid li:nth-child(n+6) {
          display: none !important;
        }

        /* Expanded durumunda tüm öğeleri göster */
        & .pane.expanded .grid li {
          display: block !important;
        }

        & .show-all {
          display: block;
        }
      }
  
      & .footer-bottom {
        flex-direction: column;
        gap: 20px;
        max-width: 398px;
        margin: 0 auto;
  
        & .brand {
          flex-direction: column;
        }
      }
  
      & .copyright {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        max-width: 398px;
        margin: 0 auto;
      }
    }
}

/* 
===============================================================
   PROFILE OVERLAY MENU (BOTTOM SHEET)
=============================================================== 
*/

.profile-overlay {
    position: fixed;
    inset: 0;
    bottom: 73px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  
    &.active {
      opacity: 1;
      visibility: visible;
    }
  
    &.active .profile-sheet {
      transform: translateY(0);
    }
  
    & .profile-sheet {
      position: fixed;
      bottom: 73px;
      left: 0;
      right: 0;
      background: #fff;
      border-radius: 16px 16px 0 0;
      max-height: 80vh;
      transform: translateY(100%);
      transition: transform 0.3s ease-out;
      overflow-y: auto;
    }
  
    & .sheet-content {
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
  
    /* Shared card styles */
    & .profile-card,
    & .gold-card,
    & .nav-item {
      padding: 16px;
      background: #f9fafb;
      border: 1px dashed rgba(228, 231, 235, 0.5);
      border-radius: 16px;
    }
  
    & .profile-card {
      display: flex;
      align-items: center;
      gap: 12px;
  
      & .avatar {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        object-fit: cover;
      }
  
      & .info {
        display: flex;
        flex-direction: column;
        min-width: 0;
      }
  
      & .name {
        font-weight: 600;
        font-size: 16px;
        color: #33353e;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
  
      & .balance {
        font-size: 13px;
        color: #7a7f99;
      }
    }
  
    & .gold-card {
      display: flex;
      flex-direction: column;
      gap: 16px;
  
      & .info {
        display: flex;
        align-items: center;
        gap: 10px;
      }
  
      & .icon {
        width: 38px;
        height: 36px;
      }
  
      & .text {
        display: flex;
        flex-direction: column;
      }
  
      & .title {
        font-weight: 600;
        font-size: 16px;
        color: #33353e;
      }
  
      & .amount {
        font-size: 13px;
        color: #7a7f99;
  
        & span {
          font-weight: 600;
        }
      }
  
      & .progress {
        height: 8px;
        background: #eaeaed;
        border-radius: 8px;
        overflow: hidden;
      }
  
      & .fill {
        height: 100%;
        background: linear-gradient(90deg, #f7e436, #ce7c1d);
        border-radius: 8px;
      }
    }
  
    & .nav-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
  
    & .nav-item {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      transition: background 0.2s ease, transform 0.2s ease;
      cursor: pointer;
  
      &:hover {
        background: #f0f1f9;
        transform: translateY(-2px);
      }
  
      & i {
        font-size: 17px;
        color: #7a7f99;
      }
  
      & .label {
        font-weight: 600;
        font-size: 14px;
        color: #7a7f99;
        text-transform: capitalize;
      }
    }
}
  
.profile-menu-open {
    overflow: hidden;
}

@media (min-width: 769px) {
.profile-overlay {
    display: none;
}
}

@media (max-width: 480px) {
.profile-overlay {
    & .profile-sheet {
    max-height: 85vh;
    }

    & .nav-item {
    padding: 14px;

    & .label {
        font-size: 13px;
    }
    }
}
}
