/* =====================================
   EngiOne! — Landing Page
   Xhynova
===================================== */

:root{
    --background:#07111F;
    --background-soft:#0B1728;
    --surface:#101D30;
    --surface-2:#142238;
    --border:rgba(255,255,255,.09);
    --text:#FFFFFF;
    --text-soft:#AAB7C7;
    --primary:#FF9F1C;
    --primary-soft:#FFC857;
    --accent:#FFE08A;
}

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

html{scroll-behavior:smooth}

body{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    background:var(--background);
    color:var(--text);
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
}

a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

header{
    position:fixed;
    top:0;left:0;
    width:100%;
    height:72px;
    padding:0 6%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:rgba(7,17,31,.88);
    backdrop-filter:blur(12px);
    border-bottom:1px solid var(--border);
    z-index:1000;
}

.brand{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600}
.brand img{width:34px;height:34px;border-radius:9px}
.brand span{color:#fff}

nav{display:flex;align-items:center;gap:30px}
nav a{color:#9AA8BA;font-size:13px;transition:.2s ease}
nav a:hover{color:#fff}

#language-selector{
    appearance:none;
    padding:7px 10px;
    border:1px solid var(--border);
    border-radius:7px;
    background:transparent;
    color:#fff;
    font-size:11px;
    cursor:pointer;
}
#language-selector option{background:#07111F;color:#fff}

section{width:100%}
.section-inner{width:min(1000px,88%);margin:auto}

.section-label{
    margin-bottom:14px;
    color:var(--primary);
    font-size:10px;
    font-weight:700;
    letter-spacing:2.5px;
}

.section-text{
    max-width:760px;
    color:var(--text-soft);
    font-size:17px;
    line-height:1.8;
}

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:110px 24px 80px;
    position:relative;
}

.hero::after{
    content:"";
    position:absolute;
    width:520px;height:520px;
    border-radius:50%;
    background:var(--primary);
    opacity:.055;
    filter:blur(120px);
    top:-250px;right:-150px;
    pointer-events:none;
}

.hero::before{
    content:"";
    position:absolute;
    width:420px;height:420px;
    border-radius:50%;
    background:#3B82F6;
    opacity:.035;
    filter:blur(130px);
    bottom:-250px;left:-180px;
    pointer-events:none;
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:760px;
    animation:heroIn .8s ease forwards;
}

.hero-logo{
    width:150px;
    height:150px;
    margin:0 auto 30px;
    border-radius:32px;
}

.engione-text{
    width:470px;
    max-width:78vw;
    height:auto;
    margin:0 auto 22px;
}


.brand-title{
    font-size:clamp(48px,8vw,76px);
    font-weight:700;
    letter-spacing:-3px;
    line-height:1;
    margin:0 auto 22px;
}

.hero-label{
    color:var(--primary);
    font-size:10px;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:14px;
}

#hero h2{
    margin-top:12px;
    color:#fff;
    font-size:clamp(20px,3vw,28px);
    font-weight:400;
    letter-spacing:-.5px;
}

#hero p{
    max-width:620px;
    margin:20px auto 0;
    color:var(--text-soft);
    font-size:16px;
    line-height:1.75;
}

.buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin-top:32px;
}

.download-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 20px;
    border-radius:8px;
    background:#fff;
    color:#07111F;
    font-size:13px;
    font-weight:700;
    transition:.2s ease;
}

.download-button:hover{
    background:var(--primary);
    transform:translateY(-2px);
}

.download-button.secondary{
    background:transparent;
    color:#fff;
    border:1px solid var(--border);
}

.download-button.secondary:hover{
    border-color:var(--primary);
    color:var(--primary);
    background:transparent;
}

.hero-note{margin-top:20px;color:#647286;font-size:11px}

.content-section{
    padding:130px 0;
    border-top:1px solid var(--border);
}

.content-section h2,
.features-section h2,
.screenshots-section h2{
    font-size:clamp(36px,5vw,54px);
    font-weight:600;
    letter-spacing:-2px;
}

.content-section h2{margin-bottom:22px}

.features-section{
    padding:130px 0;
    background:var(--background-soft);
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
}

.features-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1px;
    margin-top:55px;
    background:var(--border);
    border:1px solid var(--border);
}

.feature{
    min-height:300px;
    padding:32px;
    background:var(--background-soft);
}

.feature-number{color:#536176;font-size:11px;margin-bottom:45px}
.feature-symbol{color:var(--primary);font-size:26px;margin-bottom:22px}
.feature h3{font-size:19px;font-weight:600;margin-bottom:12px}
.feature p{color:var(--text-soft);font-size:14px;line-height:1.7}

.screenshots-section{padding:140px 0}

.screenshots-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
    align-items:start;
    margin-top:55px;
}

.phone{
    overflow:hidden;
    border-radius:24px;
    border:1px solid var(--border);
    background:#000;
    box-shadow:0 18px 50px rgba(0,0,0,.2);
}

.phone img{width:100%;height:auto}
.phone.featured{transform:translateY(-25px)}

.screenshots-two{
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-width:720px;
    margin-left:auto;
    margin-right:auto;
}

.download-section{
    padding:150px 24px;
    background:var(--background-soft);
    border-top:1px solid var(--border);
    text-align:center;
}

.download-content{max-width:680px;margin:auto}
.download-content h2{font-size:clamp(38px,5vw,56px);font-weight:600;letter-spacing:-2px;margin-bottom:18px}
.download-content p{color:var(--text-soft);font-size:16px;line-height:1.7;margin-bottom:30px}

footer{
    min-height:90px;
    padding:25px 6%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    border-top:1px solid var(--border);
    color:#69778A;
    font-size:11px;
}

.footer-brand{display:flex;align-items:center;gap:10px}
.footer-logo{width:38px;height:38px;border-radius:10px}
.footer-brand div{display:flex;flex-direction:column;gap:2px}
.footer-brand strong{color:#fff;font-size:12px}
.footer-brand span{color:#647286}
.footer-links{display:flex;gap:22px;flex-wrap:wrap}
.footer-links a{transition:.2s ease}
.footer-links a:hover{color:var(--primary)}

@keyframes heroIn{
    from{opacity:0;transform:translateY(15px)}
    to{opacity:1;transform:translateY(0)}
}

@media(max-width:800px){
    .features-grid{grid-template-columns:repeat(2,1fr)}
    .screenshots-grid{grid-template-columns:repeat(2,1fr)}
    .phone.featured{transform:none}
}

@media(max-width:700px){
    header{height:64px;padding:0 20px}
    .brand span{display:none}
    .brand img{width:34px;height:34px}
    nav{gap:16px}
    nav a{display:none}
    #language-selector{padding:6px 8px}

    .hero{padding-top:110px}
    .hero-logo{width:120px;height:120px;border-radius:26px}
    #hero h2{font-size:21px}
    #hero p{font-size:15px}

    .buttons{
        flex-direction:column;
        align-items:stretch;
        max-width:280px;
        margin-left:auto;
        margin-right:auto;
    }
    .download-button{width:100%}

    .content-section,
    .features-section,
    .screenshots-section{padding:100px 0}

    .features-grid{grid-template-columns:1fr}
    .feature{min-height:auto}

    .screenshots-grid{
        grid-template-columns:1fr;
        max-width:280px;
        margin-left:auto;
        margin-right:auto;
        gap:20px;
    }

    .download-section{padding:110px 24px}

    footer{
        flex-direction:column;
        text-align:center;
        padding:35px 20px;
    }

    .footer-brand{justify-content:center}
    .footer-links{justify-content:center}
    .engione-text{width:250px}
}
