.tx-translate-hero,
.tx-translate-hero *{
    box-sizing:border-box;
}

.tx-translate-hero{
    --tx-primary:#5548f7;
    --tx-primary-2:#7467ff;
    --tx-dark:#101936;
    --tx-text:#626a82;
    --tx-border:#e6e9f2;
    --tx-soft:#f7f7ff;

    position:relative;
    width:100%;
    overflow:hidden;
    padding:40px 24px 55px;
    background:
        radial-gradient(circle at 8% 100%, rgba(91,73,255,.17), transparent 24%),
        radial-gradient(circle at 98% 43%, rgba(121,86,255,.15), transparent 24%),
        linear-gradient(135deg,#fff 0%,#fff 56%,#fafaff 100%);
    font-family:"Poppins",Arial,sans-serif;
    color:var(--tx-dark);
}

/* Arka plan dekorları */
.tx-bg-circle{
    position:absolute;
    width:320px;
    height:320px;
    border-radius:50%;
    right:-220px;
    top:250px;
    background:linear-gradient(145deg,#8c6cff,#c8bdff);
    opacity:.75;
    pointer-events:none;
}

.tx-bg-lines{
    position:absolute;
    width:560px;
    height:560px;
    right:15%;
    top:-260px;
    border:1px solid rgba(91,73,255,.06);
    border-radius:50%;
    pointer-events:none;
}

.tx-bg-lines:before,
.tx-bg-lines:after{
    content:"";
    position:absolute;
    inset:45px;
    border:1px solid rgba(91,73,255,.05);
    border-radius:50%;
}

.tx-bg-lines:after{
    inset:90px;
}

.tx-container{
    position:relative;
    z-index:2;
    max-width:1380px;
    margin:0 auto;
}

.tx-grid{
    display:grid;
    grid-template-columns:minmax(0,1.1fr) minmax(450px,.9fr);
    align-items:center;
    gap:80px;
}

/* SOL TARAF */
.tx-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:34px;
    padding:7px 14px;
    border-radius:50px;
    background:#f1efff;
    color:#5e50f6;
    font-size:13px;
    font-weight:600;
    margin-bottom:27px;
}

.tx-badge svg{
    width:16px;
    height:16px;
}

.tx-title{
    max-width:710px;
    margin:0;
    color:var(--tx-dark);
    font-size:clamp(42px,4.2vw,68px);
    line-height:1.13;
    letter-spacing:-2.5px;
    font-weight:650;
}

.tx-title .tx-highlight{
    color:#5c52f5;
}

.tx-description{
    max-width:680px;
    margin:27px 0 0;
    color:#666e84;
    font-size:17px;
    line-height:1.85;
    font-weight:400;
}

.tx-features{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
    margin-top:48px;
    max-width:760px;
}

.tx-feature{
    display:flex;
    align-items:flex-start;
    gap:13px;
}

.tx-feature-icon{
    flex:0 0 54px;
    width:54px;
    height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#f0efff;
    color:#5548f7;
}

.tx-feature-icon svg{
    width:27px;
    height:27px;
}

.tx-feature-content strong{
    display:block;
    margin:3px 0 4px;
    color:#171d36;
    font-size:14px;
    font-weight:600;
}

.tx-feature-content span{
    display:block;
    color:#747b8f;
    font-size:12px;
    line-height:1.65;
}

.tx-actions{
    display:flex;
    gap:16px;
    margin-top:48px;
}

.tx-btn{
    min-height:58px;
    padding:0 27px;
    border-radius:8px;
    border:1px solid transparent;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:13px;
    cursor:pointer;
    text-decoration:none !important;
    font-family:inherit;
    font-size:14px;
    font-weight:600;
    transition:.25s ease;
}

.tx-btn svg{
    width:18px;
    height:18px;
}

.tx-btn-primary{
    color:#fff !important;
    background:linear-gradient(135deg,#4b45e9,#6248ef);
    box-shadow:0 12px 30px rgba(80,66,230,.18);
}

.tx-btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 15px 35px rgba(80,66,230,.27);
}

.tx-btn-secondary{
    background:#fff;
    color:#161c35 !important;
    border-color:#dfe3ed;
}

.tx-btn-secondary:hover{
    border-color:#bbb5ff;
    background:#fafaff;
}

/* SAĞ KART */
.tx-calc-card{
    width:100%;
    max-width:570px;
    margin-left:auto;
    padding:37px 35px 25px;
    border:1px solid rgba(222,225,235,.95);
    border-radius:22px;
    background:rgba(255,255,255,.96);
    box-shadow:
        0 25px 70px rgba(28,35,73,.09),
        0 3px 12px rgba(35,43,80,.03);
    backdrop-filter:blur(12px);
}

.tx-card-title{
    margin:0 0 28px;
    font-size:22px;
    line-height:1.3;
    font-weight:600;
    color:#151c39;
}

.tx-dropzone{
    position:relative;
    min-height:190px;
    padding:25px;
    border:1.5px dashed #aea6ff;
    border-radius:13px;
    background:linear-gradient(180deg,#fdfdff,#fbfbff);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    cursor:pointer;
    transition:.25s ease;
}

.tx-dropzone:hover,
.tx-dropzone.tx-drag{
    background:#f8f7ff;
    border-color:#6457f5;
}

.tx-upload-icon{
    width:52px;
    height:52px;
    margin-bottom:13px;
    color:#6254f4;
}

.tx-upload-main{
    color:#272e49;
    font-size:13px;
    line-height:1.8;
}

.tx-upload-main b{
    display:block;
    color:#5d4ff5;
    font-weight:600;
    text-decoration:underline;
}

.tx-upload-formats{
    margin-top:9px;
    color:#8a90a3;
    font-size:11px;
}

.tx-selected-file{
    display:none;
    align-items:center;
    gap:10px;
    margin-top:11px;
    padding:9px 12px;
    border-radius:8px;
    background:#f1f0ff;
    color:#4c43d7;
    font-size:11px;
    font-weight:500;
    max-width:100%;
}

.tx-selected-file span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.tx-file-input{
    display:none !important;
}

.tx-select-row{
    display:grid;
    grid-template-columns:1fr 38px 1fr;
    align-items:end;
    gap:10px;
    margin-top:25px;
}

.tx-field label{
    display:block;
    margin:0 0 8px;
    color:#242a43;
    font-size:12px;
    font-weight:600;
}

.tx-field select{
    width:100%;
    height:51px;
    padding:0 42px 0 15px;
    border:1px solid #e0e4ee;
    outline:none;
    border-radius:9px;
    background-color:#fff;
    color:#383f58;
    font-family:inherit;
    font-size:13px;
    appearance:none;
    -webkit-appearance:none;
    cursor:pointer;

    background-image:
        linear-gradient(45deg,transparent 50%,#848ba0 50%),
        linear-gradient(135deg,#848ba0 50%,transparent 50%);
    background-position:
        calc(100% - 17px) 22px,
        calc(100% - 12px) 22px;
    background-size:5px 5px,5px 5px;
    background-repeat:no-repeat;
}

.tx-field select:focus{
    border-color:#8d83fb;
    box-shadow:0 0 0 3px rgba(91,73,255,.07);
}

.tx-swap{
    width:38px!important;
    height:38px!important;
    margin-bottom:6px;
    border:0!important;
    border-radius:50%!important;
    background:#f5f6fb!important;
    padding:0!important;
    min-width:38px!important;
    min-height:38px!important;
    overflow:visible!important;
    appearance:none!important;
    -webkit-appearance:none!important;
    color:#434a62;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:.2s;
}

.tx-swap:hover{
    background:#eceaff;
    color:#5548f7;
    transform:rotate(180deg);
}

.tx-swap svg{
    display:none!important;
}

.tx-swap-glyph{
    display:flex!important;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    color:currentColor!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:20px!important;
    line-height:18px!important;
    font-weight:400!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    pointer-events:none;
}

.tx-result{
    display:grid;
    grid-template-columns:1fr 1fr;
    min-height:101px;
    margin-top:20px;
    border:1px solid #e3e6ee;
    border-radius:11px;
    overflow:hidden;
    background:#fff;
}

.tx-result-item{
    padding:20px 23px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.tx-result-item + .tx-result-item{
    border-left:1px solid #e5e8ef;
}

.tx-result-label{
    color:#2b3149;
    font-size:12px;
    font-weight:600;
}

.tx-result-value{
    display:block;
    margin-top:10px;
    color:#141a34;
    font-size:21px;
    font-weight:600;
}

.tx-calc-button{
    width:100%;
    height:58px;
    margin-top:20px;
    border:0;
    border-radius:9px;
    background:linear-gradient(90deg,#6458f5,#b6aaf9);
    color:#fff;
    font-family:inherit;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    transition:.25s;
}

.tx-calc-button:disabled{
    opacity:.52;
    cursor:not-allowed;
}

.tx-calc-button:not(:disabled):hover{
    transform:translateY(-1px);
    box-shadow:0 12px 25px rgba(91,73,255,.22);
}

.tx-security{
    margin-top:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    color:#8a90a1;
    font-size:11px;
}

.tx-security svg{
    width:14px;
    height:14px;
    color:#6f7688;
}

/* RESPONSIVE */
@media(max-width:1100px){
    .tx-grid{
        grid-template-columns:1fr 1fr;
        gap:40px;
    }

    .tx-features{
        grid-template-columns:1fr;
        gap:14px;
    }

    .tx-title{
        font-size:48px;
    }
}

@media(max-width:900px){
    .tx-translate-hero{
        padding:50px 18px;
    }

    .tx-grid{
        grid-template-columns:1fr;
    }

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

    .tx-title,
    .tx-description{
        margin-left:auto;
        margin-right:auto;
    }

    .tx-features{
        grid-template-columns:repeat(3,1fr);
        text-align:left;
    }

    .tx-actions{
        justify-content:center;
    }

    .tx-calc-card{
        max-width:650px;
        margin:0 auto;
    }
}

@media(max-width:650px){
    .tx-translate-hero{
        padding:38px 15px;
    }

    .tx-title{
        font-size:38px;
        letter-spacing:-1.5px;
    }

    .tx-description{
        font-size:14px;
        line-height:1.75;
    }

    .tx-features{
        grid-template-columns:1fr;
        max-width:330px;
        margin-left:auto;
        margin-right:auto;
    }

    .tx-actions{
        flex-direction:column;
    }

    .tx-btn{
        width:100%;
    }

    .tx-calc-card{
        padding:25px 17px 20px;
        border-radius:16px;
    }

    .tx-card-title{
        font-size:19px;
    }

    .tx-dropzone{
        min-height:170px;
        padding:18px 12px;
    }

    .tx-select-row{
        grid-template-columns:1fr;
    }

    .tx-swap{
        margin:0 auto -4px;
        transform:rotate(90deg);
    }

    .tx-swap:hover{
        transform:rotate(270deg);
    }

    .tx-result-item{
        padding:17px 15px;
    }
}
.tx-language-warning{margin-top:14px;padding:10px 12px;border-radius:8px;background:#fff8e7;border:1px solid #ffe3a3;color:#765515;font-size:12px;line-height:1.5}
.tx-calc-button.tx-order-ready{background:linear-gradient(90deg,#4f46e5,#6558f5);opacity:1!important}


/* v0.2.2 - Tema hover renklerinin Tercumax ana butonlarını siyaha çevirmesini engeller */
.tx-translate-hero .tx-btn-primary,
.tx-translate-hero .tx-btn-primary:hover,
.tx-translate-hero .tx-btn-primary:focus,
.tx-translate-hero .tx-btn-primary:active,
.tx-translate-hero .tx-calc-button:not(:disabled),
.tx-translate-hero .tx-calc-button:not(:disabled):hover,
.tx-translate-hero .tx-calc-button:not(:disabled):focus,
.tx-translate-hero .tx-calc-button:not(:disabled):active,
.tx-translate-hero .tx-calc-button.tx-order-ready,
.tx-translate-hero .tx-calc-button.tx-order-ready:hover,
.tx-translate-hero .tx-calc-button.tx-order-ready:focus,
.tx-translate-hero .tx-calc-button.tx-order-ready:active{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}

.tx-translate-hero .tx-btn-primary svg,
.tx-translate-hero .tx-btn-primary:hover svg,
.tx-translate-hero .tx-btn-primary:focus svg,
.tx-translate-hero .tx-btn-primary:active svg{
    color:#fff !important;
    stroke:#fff !important;
}
