:root{
    --bg:#07090d;
    --bg-soft:#0d1118;
    --surface:rgba(15,18,26,.82);
    --surface-strong:rgba(20,24,34,.92);

    --text:#f3f5f8;
    --text-soft:#a2a8b5;
    --text-muted:#737b89;

    --accent:#921f52;
    --accent-light:#c7477d;

    --border:rgba(255,255,255,.09);
    --border-accent:rgba(199,71,125,.28);

    --logo-gray:#8a8d98;
    --container:1380px;
    --transition:.28s ease;
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Inter, Arial, sans-serif;
    background-color:var(--bg);
    background-image:
        linear-gradient(
            180deg,
            rgba(7,9,13,.88) 0%,
            rgba(7,9,13,.94) 45%,
            rgba(7,9,13,.98) 100%
        ),
        url('/assets/images/tungnguyen0905-technology-7111756_1920.jpg');
    background-size:cover;
    background-position:center center;
    background-attachment:fixed;
    color:var(--text);
    overflow-x:hidden;
    position:relative;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    background:
        radial-gradient(circle at top right, rgba(146,31,82,.22), transparent 34%),
        radial-gradient(circle at bottom left, rgba(72,96,127,.16), transparent 38%);
    z-index:-2;
}

body::after{
    content:"";
    position:fixed;
    inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size:70px 70px;
    opacity:.42;
    z-index:-1;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
}

.container{
    width:min(100% - 40px, var(--container));
    margin-inline:auto;
}

/* HEADER */

.site-header{
    position:sticky;
    top:0;
    z-index:999;
    backdrop-filter:blur(20px);
    background:rgba(7,9,13,.76);
    border-bottom:1px solid var(--border);
}

.header-inner{
    display:flex;
    align-items:center;
    justify-content:center;
}

.header-logo img{
    height:110px;
    display:block;
}

/* HERO */

.hero{
    min-height:calc(100vh - 150px);
    display:flex;
    align-items:center;
    padding:120px 0;
}

.hero-inner{
    width:100%;
    display:flex;
    justify-content:center;
}

.hero-content{
    max-width:980px;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.eyebrow{
    display:inline-block;
    margin-bottom:24px;
    color:var(--accent-light);
    font-size:.82rem;
    letter-spacing:.16em;
    text-transform:uppercase;
}

.hero-slogan{
    display:inline-flex;
    margin-bottom:26px;
    padding:10px 18px;
    border-radius:999px;
    background:rgba(146,31,82,.14);
    border:1px solid rgba(199,71,125,.28);
    color:var(--accent-light);
    font-size:.95rem;
    font-weight:700;
    letter-spacing:.04em;
}

.hero-content h1{
    max-width:900px;
    font-size:clamp(2.8rem,5vw,5.3rem);
    line-height:1.02;
    letter-spacing:-.055em;
    margin-bottom:28px;
    color:var(--text);
    text-shadow:0 18px 60px rgba(0,0,0,.45);
}

.hero-content p{
    max-width:760px;
    color:var(--text-soft);
    font-size:1.08rem;
    line-height:1.9;
    margin-bottom:40px;
    text-align:center;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:16px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:15px 26px;
    border-radius:999px;
    font-weight:600;
    transition:var(--transition);
    backdrop-filter:blur(14px);
}

.btn-primary{
    background:linear-gradient(135deg, var(--accent), #b83770);
    color:#ffffff;
    box-shadow:0 16px 42px rgba(146,31,82,.32);
}

.btn-primary:hover{
    transform:translateY(-3px);
    box-shadow:0 22px 54px rgba(146,31,82,.44);
}

.btn-secondary{
    background:rgba(255,255,255,.06);
    border:1px solid var(--border);
    color:var(--text);
}

.btn-secondary:hover{
    background:rgba(255,255,255,.10);
    border-color:var(--border-accent);
}

/* SECTION BASICS */

.structure,
.projects,
.services{
    padding:80px 0 120px;
}

.section-title{
    margin-bottom:58px;
}

.section-title h2{
    font-size:clamp(2.3rem,4.5vw,4.4rem);
    line-height:1.03;
    letter-spacing:-.05em;
    margin-bottom:18px;
    color:var(--text);
}

.section-title p{
    max-width:760px;
    color:var(--text-soft);
    line-height:1.85;
}

/* INFO CARDS */

.info-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:26px;
}

.info-card{
    position:relative;
    padding:36px;
    border-radius:34px;
    background:linear-gradient(180deg, var(--surface-strong), var(--surface));
    border:1px solid var(--border);
    backdrop-filter:blur(20px);
    overflow:hidden;
    transition:var(--transition);
    box-shadow:0 24px 70px rgba(0,0,0,.22);
}

.info-card::before{
    content:"";
    position:absolute;
    width:240px;
    height:240px;
    top:-130px;
    right:-110px;
    border-radius:50%;
    background:rgba(146,31,82,.18);
    filter:blur(70px);
}

.info-card:hover{
    transform:translateY(-6px);
    border-color:var(--border-accent);
    box-shadow:0 34px 90px rgba(0,0,0,.34);
}

.info-icon{
    width:62px;
    height:62px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:rgba(146,31,82,.16);
    color:var(--accent-light);
    font-size:1.35rem;
    margin-bottom:34px;
    backdrop-filter:blur(10px);
}

.info-card h3,
.project-card h3,
.service-card h3{
    position:relative;
    font-size:1.65rem;
    line-height:1.12;
    letter-spacing:-.03em;
    margin-bottom:18px;
    color:var(--text);
}

.info-card p,
.project-card p,
.service-card p{
    position:relative;
    color:var(--text-soft);
    line-height:1.8;
}

/* PROJECTS */

.project-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:26px;
}

.project-card{
    position:relative;
    display:block;
    min-height:260px;
    padding:36px;
    border-radius:34px;
    background:linear-gradient(180deg, var(--surface-strong), var(--surface));
    border:1px solid var(--border);
    backdrop-filter:blur(20px);
    overflow:hidden;
    color:inherit;
    text-decoration:none;
    transition:var(--transition);
    box-shadow:0 24px 70px rgba(0,0,0,.22);
}

.project-card::before{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    top:-140px;
    right:-120px;
    border-radius:50%;
    background:rgba(146,31,82,.22);
    filter:blur(76px);
}

.project-card:hover{
    transform:translateY(-6px);
    border-color:var(--border-accent);
    box-shadow:0 34px 90px rgba(0,0,0,.34);
}

.project-label,
.service-price{
    position:relative;
    display:inline-flex;
    margin-bottom:32px;
    padding:9px 13px;
    border-radius:999px;
    background:rgba(146,31,82,.16);
    border:1px solid rgba(199,71,125,.22);
    color:var(--accent-light);
    font-size:.74rem;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}

/* SERVICES */

.service-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:26px;
}

.service-card{
    position:relative;
    padding:36px;
    border-radius:34px;
    background:linear-gradient(180deg, var(--surface-strong), var(--surface));
    border:1px solid var(--border);
    backdrop-filter:blur(20px);
    overflow:hidden;
    transition:var(--transition);
    box-shadow:0 24px 70px rgba(0,0,0,.22);
}

.service-card::before{
    content:"";
    position:absolute;
    width:250px;
    height:250px;
    top:-140px;
    right:-120px;
    border-radius:50%;
    background:rgba(146,31,82,.18);
    filter:blur(72px);
}

.service-card:hover{
    transform:translateY(-6px);
    border-color:var(--border-accent);
    box-shadow:0 34px 90px rgba(0,0,0,.34);
}

.service-card p{
    margin-bottom:22px;
}

.service-card ul{
    position:relative;
    list-style:none;
}

.service-card li{
    position:relative;
    padding-left:22px;
    color:var(--text-soft);
    line-height:1.8;
}

.service-card li::before{
    content:"";
    position:absolute;
    left:0;
    top:.75em;
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--accent-light);
}

.service-note{
    margin-top:34px;
    padding:30px 34px;
    border-radius:28px;
    background:rgba(255,255,255,.045);
    border:1px solid var(--border);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

.service-note p{
    max-width:820px;
    color:var(--text-soft);
    line-height:1.8;
}

/* PARTNERS */

.partners{
    padding:10px 0 150px;
}

.partners .section-title{
    margin-bottom:48px;
}

.partner-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:22px;
}

.partner-card{
    position:relative;
    padding:32px 34px;
    border-radius:26px;
    background:linear-gradient(180deg, var(--surface-strong), var(--surface));
    border:1px solid var(--border);
    backdrop-filter:blur(18px);
    color:inherit;
    text-decoration:none;
    overflow:hidden;
    transition:
        border-color .28s ease,
        transform .28s ease,
        background .28s ease,
        box-shadow .28s ease;
    box-shadow:0 20px 60px rgba(0,0,0,.20);
}

.partner-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at top right, rgba(146,31,82,.18), transparent 42%);
    opacity:0;
    transition:opacity .28s ease;
    pointer-events:none;
}

.partner-card:hover{
    transform:translateY(-4px);
    border-color:var(--border-accent);
    background:linear-gradient(180deg, rgba(26,30,42,.96), rgba(18,22,31,.9));
    box-shadow:0 26px 70px rgba(0,0,0,.32);
}

.partner-card:hover::before{
    opacity:1;
}

.partner-card h3{
    position:relative;
    font-size:1.18rem;
    font-weight:600;
    letter-spacing:-.025em;
    margin-bottom:10px;
    color:var(--text);
}

.partner-card p{
    position:relative;
    color:var(--text-soft);
    line-height:1.72;
    font-size:.98rem;
}

/* FOOTER */

.site-footer{
    padding:34px 0;
    border-top:1px solid var(--border);
    background:rgba(7,9,13,.78);
    backdrop-filter:blur(14px);
}

.footer-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.footer-left{
    color:var(--text-muted);
    font-size:.92rem;
}

.footer-right{
    display:flex;
    gap:24px;
}

.footer-right a{
    color:var(--text-soft);
    transition:var(--transition);
}

.footer-right a:hover{
    color:var(--accent-light);
}

/* LEGAL */

.legal-page{
    padding:120px 0 150px;
}

.legal-container{
    max-width:1120px;
}

.legal-container h1{
    max-width:820px;
    font-size:clamp(2.6rem,5vw,4.6rem);
    line-height:1.03;
    letter-spacing:-.055em;
    margin-bottom:48px;
    color:var(--text);
    text-shadow:0 18px 60px rgba(0,0,0,.45);
}

.legal-box{
    position:relative;
    padding:46px;
    margin-bottom:26px;
    border-radius:34px;
    background:linear-gradient(180deg, var(--surface-strong), var(--surface));
    border:1px solid var(--border);
    backdrop-filter:blur(20px);
    overflow:hidden;
    box-shadow:0 24px 70px rgba(0,0,0,.22);
}

.legal-box::before{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at top right, rgba(146,31,82,.14), transparent 42%);
    opacity:.75;
    pointer-events:none;
}

.legal-box h2,
.legal-box h3,
.legal-box p,
.legal-box ul{
    position:relative;
}

.legal-box h2{
    font-size:1.75rem;
    line-height:1.15;
    letter-spacing:-.035em;
    margin-bottom:26px;
    color:var(--text);
}

.legal-box h3{
    color:var(--text);
    font-size:1.08rem;
    line-height:1.35;
    margin:30px 0 10px;
}

.legal-box p,
.legal-box li{
    color:var(--text-soft);
    font-size:1rem;
    line-height:1.85;
}

.legal-box p + p{
    margin-top:14px;
}

.legal-box ul{
    padding-left:20px;
    margin-top:14px;
}

.legal-box a{
    color:var(--accent-light);
    text-decoration:none;
    border-bottom:1px solid rgba(199,71,125,.34);
    transition:var(--transition);
}

.legal-box a:hover{
    color:#e26a9b;
    border-color:rgba(226,106,155,.62);
}

.legal-box strong{
    color:var(--text);
    font-weight:700;
}

/* RESPONSIVE */

@media (max-width:1100px){

    .header-logo img{
        height:88px;
    }

    .header-inner{
        min-height:126px;
    }

    .info-grid,
    .project-grid,
    .service-grid{
        grid-template-columns:1fr;
    }

    .service-note{
        flex-direction:column;
        align-items:flex-start;
    }
}

@media (max-width:720px){

    body{
        background-attachment:scroll;
    }

    .site-header{
        position:relative;
    }

    .header-inner{
        justify-content:center;
        padding:24px 0;
    }

    .header-logo img{
        height:72px;
    }

    .hero{
        min-height:auto;
        padding:90px 0;
    }

    .hero-content h1{
        font-size:2.7rem;
    }

    .structure,
    .projects,
    .services{
        padding:60px 0 100px;
    }

    .info-card,
    .project-card,
    .service-card{
        min-height:auto;
        padding:30px;
        border-radius:28px;
    }

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

    .partners{
        padding:10px 0 110px;
    }

    .partner-card{
        padding:30px;
        border-radius:28px;
    }

    .legal-page{
        padding:90px 0 110px;
    }

    .legal-container h1{
        margin-bottom:34px;
    }

    .legal-box{
        padding:30px;
        border-radius:28px;
    }

    .footer-inner{
        flex-direction:column;
    }

    .footer-right{
        flex-wrap:wrap;
        justify-content:center;
    }
}