/* ==========================================================
   Toritex Website
   Version 1.0
==========================================================*/

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

:root{

    --primary:#35516D;
    --primary-hover:#446782;

    --background:#F8FAFC;
    --surface:#FFFFFF;

    --border:#E5EAF2;

    --text:#1E293B;

    --text-light:#64748B;

    --success:#2FA36B;

    --radius:18px;

    --shadow-small:
        0 4px 12px rgba(15,23,42,.05);

    --shadow-medium:
        0 15px 40px rgba(15,23,42,.08);

    --shadow-large:
        0 35px 80px rgba(15,23,42,.12);

    --container:1240px;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Inter",sans-serif;

    background:var(--background);

    color:var(--text);

    line-height:1.6;

    overflow-x:hidden;

}

img{

    display:block;

    width:100%;

    height:auto;

}

a{

    color:inherit;

    text-decoration:none;

}

.container{

    width:min(var(--container),92%);

    margin:auto;

}



/* ==========================================================
   TYPOGRAPHY
==========================================================*/

h1{

    font-size:64px;

    line-height:1.05;

    font-weight:800;

    letter-spacing:-2px;

}

h1 span{

    color:var(--primary);

}

h2{

    font-size:44px;

    line-height:1.15;

    font-weight:700;

    letter-spacing:-1px;

}

h3{

    font-size:22px;

    font-weight:700;

}

p{

    color:var(--text-light);

    font-size:18px;

}



/* ==========================================================
   BUTTONS
==========================================================*/

.button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    border-radius:14px;

    transition:.25s;

    font-weight:600;

    white-space:nowrap;

    min-width:190px;

}

.button.large{

    padding:17px 36px;

}

.button.primary{

    background:var(--primary);

    color:white;

}

.button.primary:hover{

    background:var(--primary-hover);

    transform:translateY(-2px);

    box-shadow:var(--shadow-medium);

}

.button.secondary,

.button.outline{

    border:1px solid var(--border);

    background:white;

}

.button.outline:hover{

    transform:translateY(-2px);

    box-shadow:var(--shadow-small);

}



/* ==========================================================
   HEADER
==========================================================*/

.site-header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:1000;

    backdrop-filter:blur(18px);

    background:rgba(255,255,255,.75);

    border-bottom:1px solid rgba(229,234,242,.7);

}

.site-header .container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    height:82px;

}

.logo{

    display:flex;

    align-items:center;

    gap:14px;

    font-weight:700;

    font-size:36px;

}

.logo-square {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.logo-square img {
    width: 38px;
    height: 38px;
    display: block;
    object-fit: contain;
    image-rendering: auto;
}

.navigation{

    display:flex;

    align-items:center;

    gap:34px;

    margin-left:auto;

}

.navigation a{

    color:var(--text-light);

    transition:.25s;

}

.navigation a:hover{

    color:var(--text);

}

.header-actions{
    display:flex;
    gap:14px;
    margin-left:70px;
}



/* ==========================================================
   HERO
==========================================================*/

.hero{

    padding-top:180px;

    padding-bottom:120px;

}

.hero-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.badge{

    display:inline-flex;

    padding:8px 16px;

    border-radius:100px;

    background:#EEF3F8;

    color:var(--primary);

    font-size:14px;

    font-weight:600;

    margin-bottom:28px;

}

.hero p{

    margin-top:28px;

    max-width:620px;

}

.hero-buttons{

    display:flex;

    gap:18px;

    margin-top:42px;

}

.hero-benefits{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin-top:50px;

    color:var(--text);

    font-weight:600;

}



/* ==========================================================
   HERO IMAGE
==========================================================*/

.hero-right{

    position:relative;

}

.hero-card{
    position:relative;
    z-index:2;
}

.hero-card img{
    width:100%;
    max-width:500px;
    border-radius:16px;
    box-shadow:0 20px 55px rgba(0,0,0,.12);
}

.floating-dialog{

    position:absolute;

    right:-35px;

    top:320px;

    width:210px;

    transform:rotate(-3deg);

    transition:.3s ease;

    z-index:3;
}
.floating-dialog img{

    width:100%;

    display:block;

    border-radius:14px;

    box-shadow:0 20px 45px rgba(0,0,0,.18);
}

.floating-dialog:hover{

    transform:rotate(0deg) scale(1.03);

}


/* ==========================================================
   COMPATIBILITY
==========================================================*/

.compatibility{

    padding:32px 0;

    border-top:1px solid var(--border);

    border-bottom:1px solid var(--border);

    background:white;

}

.compatibility p{

    text-align:center;

    font-size:15px;

}

.compatibility strong{

    color:var(--text);

}
/* ==========================================================
   SECTION HEADER
==========================================================*/

.section-header{

    max-width:760px;

    margin:0 auto 70px;

    text-align:center;

}

.section-tag{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:8px 18px;

    border-radius:999px;

    background:#EEF3F8;

    color:var(--primary);

    font-size:13px;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

    margin-bottom:22px;

}

.section-header h2{

    margin-bottom:20px;

}

.section-header p{

    max-width:620px;

    margin:auto;

}



/* ==========================================================
   FEATURES
==========================================================*/

.features{

    padding:130px 0;

}

.features-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:28px;

}

.feature-card{

    background:#fff;

    border:1px solid var(--border);

    border-radius:22px;

    padding:36px;

    transition:.28s ease;

    box-shadow:var(--shadow-small);

}

.feature-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-large);

}

.feature-icon{

    width:64px;

    height:64px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

    background:#EEF3F8;

    border-radius:18px;

    margin-bottom:26px;

}

.feature-card h3{

    margin-bottom:16px;

}

.feature-card p{

    font-size:16px;

}



/* ==========================================================
   



/* ==========================================================
   WORKFLOW
==========================================================*/

.workflow{

    padding:130px 0;

}

.timeline{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:26px;

    position:relative;

}

.timeline::before{

    content:"";

    position:absolute;

    left:12%;

    right:12%;

    top:44px;

    height:2px;

    background:var(--border);

    z-index:0;

}

.step{

    position:relative;

    text-align:center;

    z-index:1;

}

.step-number{

    width:90px;

    height:90px;

    margin:0 auto 26px;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:32px;

    font-weight:800;

    box-shadow:var(--shadow-medium);

}

.step h3{

    margin-bottom:16px;

}

.step p{

    font-size:16px;

    max-width:220px;

    margin:auto;

}

.step-line{

    display:none;

}



/* ==========================================================
   MICRO ANIMATIONS
==========================================================*/

.hero-card,
.showcase-large,
.showcase-small,
.feature-card{

    transition:
        transform .35s ease,
        box-shadow .35s ease;

}


.showcase-large:hover{

    transform:translateY(-6px);

}

.showcase-small:hover{

    transform:translateY(-6px);

}
/* ==========================================================
   DOWNLOAD CTA
==========================================================*/

.download{

    padding:140px 0;

    background:#ffffff;

}

.download-card{

    background:linear-gradient(135deg,#35516D 0%,#446782 100%);

    color:#fff;

    border-radius:30px;

    padding:90px 70px;

    text-align:center;

    box-shadow:0 40px 90px rgba(53,81,109,.22);

}

.download-card .section-tag{

    background:rgba(255,255,255,.14);

    color:#fff;

}

.download-card h2{

    color:#fff;

    margin:24px 0;

}

.download-card p{

    color:rgba(255,255,255,.88);

    max-width:700px;

    margin:0 auto 40px;

}

.download-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

}

.download .button.primary{

    background:#fff;

    color:var(--primary);

}

.download .button.primary:hover{

    background:#F4F7FA;

}

.download .button.outline{

    background:transparent;

    color:#fff;

    border:1px solid rgba(255,255,255,.35);

}

.download .button.outline:hover{

    background:rgba(255,255,255,.08);

}



/* ==========================================================
   FAQ
==========================================================*/

.faq{

    padding:140px 0;

}

.faq-list{

    max-width:900px;

    margin:auto;

}

.faq-item{

    background:#fff;

    border:1px solid var(--border);

    border-radius:18px;

    margin-bottom:18px;

    overflow:hidden;

    transition:.25s;

}

.faq-item:hover{

    transform:translateY(-2px);

    box-shadow:var(--shadow-medium);

}

.faq-question{

    width:100%;

    border:none;

    background:#fff;

    cursor:pointer;

    padding:28px 34px;

    text-align:left;

    font-size:18px;

    font-weight:600;

    color:var(--text);

}

/* ==========================================================
   FOOTER
==========================================================*/

.footer{

    background:#0F172A;

    color:#CBD5E1;

    padding:90px 0 30px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:50px;

}

.footer h3{

    color:#fff;

    margin-bottom:18px;

}

.footer h4{

    color:#fff;

    margin-bottom:20px;

}

.footer ul{

    list-style:none;

}

.footer li{

    margin-bottom:12px;

}

.footer a{

    color:#94A3B8;

    transition:.2s;

}

.footer a:hover{

    color:#fff;

}

.footer-bottom{

    margin-top:70px;

    padding-top:24px;

    border-top:1px solid rgba(255,255,255,.08);

    text-align:center;

}



/* ==========================================================
   SCROLL ANIMATION
==========================================================*/

.hero,
.features,
.showcase,
.workflow,
.download,
.faq{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}



/* ==========================================================
   RESPONSIVE
==========================================================*/

@media (max-width:1100px){

.hero-grid{

    grid-template-columns:1fr;

}

.hero-right{

    margin-top:60px;

}

.features-grid{

    grid-template-columns:repeat(2,1fr);

}

.showcase-grid{

    grid-template-columns:1fr;

}

.timeline{

    grid-template-columns:repeat(2,1fr);

    row-gap:60px;

}

.timeline::before{

    display:none;

}

.footer-grid{

    grid-template-columns:1fr 1fr;

}

}



@media (max-width:768px){

h1{

    font-size:46px;

}

h2{

    font-size:34px;

}

.navigation{

    display:none;

}

.header-actions .secondary{

    display:none;

}

.hero-buttons{

    flex-direction:column;

}

.hero-benefits{

    grid-template-columns:1fr;

}

.features-grid{

    grid-template-columns:1fr;

}

.timeline{

    grid-template-columns:1fr;

}

.download-card{

    padding:60px 30px;

}

.download-buttons{

    flex-direction:column;

}

.footer-grid{

    grid-template-columns:1fr;

}

.floating-dialog{

    position:relative;

    right:auto;

    bottom:auto;

    width:100%;

    margin-top:24px;

}

}



@media (max-width:480px){

.hero{

    padding-top:140px;

}

.container{

    width:94%;

}

.button.large{

    width:100%;

}

.hero-card{

    padding:14px;

}

.showcase-large{

    padding:16px;

}

.showcase-small{

    padding:16px;

}

}
.result-badge{

    position:absolute;

    top:-18px;

    left:-20px;

    background:#fff;

    padding:8px 14px;

    border-radius:30px;

    font-size:12px;

    font-weight:600;

    color:#334e68;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}
/* ==========================================================
   FAQ
==========================================================*/

.faq{

    padding:120px 0;

    background:#fff;

}

.faq-list{

    max-width:860px;

    margin:60px auto 0;

}

.faq-item{

    background:#fff;

    border:1px solid var(--border);

    border-radius:18px;

    margin-bottom:18px;

    overflow:hidden;

    transition:.25s;

    box-shadow:var(--shadow-small);

}

.faq-item:hover{

    box-shadow:var(--shadow-medium);

    transform:translateY(-2px);

}

.faq-question{

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:26px 32px;

    background:#fff;

    border:none;

    cursor:pointer;

    font-size:18px;

    font-weight:600;

    color:var(--text);

    text-align:left;

}

.faq-icon{

    font-size:20px;

    font-weight:600;

}

.faq-answer{

    max-height:0;

    overflow:hidden;

    padding:0 30px;

    color:var(--text-light);

    line-height:1.8;

    transition:max-height .35s ease,
               padding .35s ease;

}

.faq-item.active .faq-answer{

    max-height:300px;

    padding:0 30px 26px;

}

.faq-item.active .faq-icon{

    transform:rotate(45deg);

}
/* ==========================================
   Scroll Reveal
========================================== */

.hidden{

    opacity:0;

    transform:translateY(50px);

    transition:
        opacity .8s ease,
        transform .8s ease;

}

.visible{

    opacity:1;

    transform:translateY(0);

}
.faq-answer p{

    margin:0;

}
