/* ==========================================================
   CHINMUN ERP CONTACT PAGE
========================================================== */


/* ==========================================================
   PAGE
========================================================== */

.contact-page{
    position:relative;
    overflow:hidden;
    padding-top:78px;
}


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

.contact-hero{
    position:relative;
    padding:68px 0 58px;
    overflow:hidden;
    border-bottom:1px solid rgba(255,255,255,.07);
    background:
        radial-gradient(
            circle at 18% 20%,
            rgba(13,110,253,.16),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 40%,
            rgba(123,46,247,.14),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #080d1d 0%,
            #070b18 100%
        );
}


.contact-hero::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );
    background-size:60px 60px;
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.8),
            transparent
        );
}


.contact-hero-content{
    position:relative;
    z-index:2;
    max-width:850px;
}


.contact-eyebrow{
    margin-bottom:18px;
}


.contact-hero h1{
    max-width:820px;
    margin:0;
    font-family:"Space Grotesk",sans-serif;
    font-size:clamp(44px,6vw,78px);
    line-height:1.02;
    letter-spacing:-.055em;
}


.contact-hero h1 span{
    display:inline-block;
    background:
        linear-gradient(
            90deg,
            #65d4ff,
            #9274ff,
            #ffb34a
        );
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}


.contact-hero p{
    max-width:690px;
    margin:24px 0 0;
    color:var(--muted);
    font-size:17px;
    line-height:1.8;
}


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

.contact-hero-stats{
    display:flex;
    gap:14px;
    margin-top:38px;
}


.contact-stat{
    flex:1;
    min-height:104px;
    padding:18px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    background:rgba(255,255,255,.035);
    backdrop-filter:blur(14px);
}


.contact-stat strong{
    color:#78d9ff;
    font-family:"Space Grotesk",sans-serif;
    font-size:22px;
}


.contact-stat span{
    max-width:170px;
    color:#b9c2d9;
    font-size:12px;
    line-height:1.55;
}


/* ==========================================================
   BACKGROUND ORBS
========================================================== */

.contact-orb{
    position:absolute;
    border-radius:50%;
    filter:blur(10px);
    pointer-events:none;
}


.contact-orb-one{
    width:380px;
    height:380px;
    top:-180px;
    right:-100px;
    background:
        radial-gradient(
            circle,
            rgba(78,93,255,.18),
            transparent 68%
        );
}


.contact-orb-two{
    width:300px;
    height:300px;
    bottom:-160px;
    left:45%;
    background:
        radial-gradient(
            circle,
            rgba(0,229,195,.09),
            transparent 68%
        );
}


/* ==========================================================
   MAIN
========================================================== */

.contact-main-section{
    position:relative;
    padding:68px 0;
    background:
        linear-gradient(
            180deg,
            #070b18,
            #080d1c
        );
}


.contact-layout{
    display:grid;
    grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
    gap:28px;
    align-items:start;
}


/* ==========================================================
   LEFT INFORMATION
========================================================== */

.contact-information{
    position:sticky;
    top:105px;
}


.contact-mini-label{
    margin-bottom:14px;
    color:#80d8ff;
    font-size:11px;
    font-weight:800;
    letter-spacing:.16em;
}


.contact-info-heading h2{
    margin:0;
    font-family:"Space Grotesk",sans-serif;
    font-size:clamp(35px,4vw,52px);
    line-height:1.04;
    letter-spacing:-.045em;
}


.contact-info-heading h2 span{
    display:block;
    background:
        linear-gradient(
            90deg,
            #5bcfff,
            #9d67ff
        );
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}


.contact-info-heading p{
    margin:20px 0 0;
    color:var(--muted);
    font-size:15px;
    line-height:1.75;
}


/* ==========================================================
   INFO CARDS
========================================================== */

.contact-info-list{
    display:grid;
    gap:10px;
    margin-top:30px;
}


.contact-info-card{
    display:flex;
    align-items:center;
    gap:14px;
    padding:15px;
    border:1px solid rgba(255,255,255,.075);
    border-radius:17px;
    background:rgba(255,255,255,.025);
    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}


.contact-info-card:hover{
    transform:translateX(4px);
    border-color:rgba(103,195,255,.22);
    background:rgba(255,255,255,.045);
}


.contact-info-icon{
    width:40px;
    height:40px;
    flex:0 0 40px;
    display:grid;
    place-items:center;
    border-radius:13px;
    color:#8cdbff;
    font-size:17px;
    background:
        linear-gradient(
            135deg,
            rgba(13,110,253,.2),
            rgba(123,46,247,.18)
        );
    border:1px solid rgba(255,255,255,.08);
}


.contact-info-card strong{
    display:block;
    margin-bottom:4px;
    font-size:13px;
}


.contact-info-card span{
    color:#919bb4;
    font-size:12px;
    line-height:1.45;
}


/* ==========================================================
   TRUST CARD
========================================================== */

.contact-trust-card{
    position:relative;
    overflow:hidden;
    margin-top:24px;
    padding:26px;
    border-radius:23px;
    border:1px solid rgba(255,255,255,.09);
    background:
        linear-gradient(
            145deg,
            rgba(16,28,66,.95),
            rgba(10,14,34,.95)
        );
    box-shadow:
        0 20px 70px rgba(0,0,0,.2);
}


.contact-trust-glow{
    position:absolute;
    width:250px;
    height:250px;
    top:-160px;
    right:-130px;
    border-radius:50%;
    background:
        radial-gradient(
            circle,
            rgba(86,109,255,.25),
            transparent 68%
        );
    pointer-events:none;
}


.contact-trust-top{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    gap:8px;
    color:#91dfff;
    font-size:10px;
    font-weight:800;
    letter-spacing:.14em;
}


.contact-live-dot{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#00e5c3;
    box-shadow:
        0 0 14px rgba(0,229,195,.8);
}


.contact-trust-card h3{
    position:relative;
    z-index:1;
    margin:24px 0 12px;
    font-family:"Space Grotesk",sans-serif;
    font-size:30px;
    line-height:1.08;
    letter-spacing:-.04em;
}


.contact-trust-card h3 span{
    color:#8cceff;
}


.contact-trust-card p{
    position:relative;
    z-index:1;
    margin:0;
    color:#9fa8c0;
    font-size:13px;
    line-height:1.7;
}


/* ==========================================================
   FORM WRAPPER
========================================================== */

.contact-form-wrapper{
    min-width:0;
}


/* ==========================================================
   ALERT
========================================================== */

.contact-alert{
    display:flex;
    align-items:flex-start;
    gap:14px;
    margin-bottom:16px;
    padding:17px;
    border-radius:17px;
    animation:
        contactAlertIn .45s ease both;
}


.contact-alert-success{
    border:1px solid rgba(0,229,195,.2);
    background:rgba(0,229,195,.065);
}


.contact-alert-error{
    border:1px solid rgba(255,120,120,.2);
    background:rgba(255,80,80,.06);
}


.contact-alert-icon{
    width:32px;
    height:32px;
    flex:0 0 32px;
    display:grid;
    place-items:center;
    border-radius:10px;
    font-weight:800;
}


.contact-alert-success .contact-alert-icon{
    color:#06251f;
    background:#00e5c3;
}


.contact-alert-error .contact-alert-icon{
    color:#fff;
    background:#d94a62;
}


.contact-alert strong{
    display:block;
    margin-bottom:5px;
    font-size:14px;
}


.contact-alert p,
.contact-alert ul{
    margin:0;
    color:#aeb8cf;
    font-size:12px;
    line-height:1.6;
}


.contact-alert ul{
    padding-left:17px;
}


/* ==========================================================
   CONTACT FORM
========================================================== */

.contact-form{
    padding:30px;
    border-radius:27px;
    border:1px solid rgba(255,255,255,.09);
    background:
        linear-gradient(
            145deg,
            rgba(18,24,51,.94),
            rgba(9,13,29,.97)
        );
    box-shadow:
        0 25px 90px rgba(0,0,0,.28);
}


.contact-form-header{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:flex-start;
    padding-bottom:24px;
    margin-bottom:25px;
    border-bottom:1px solid rgba(255,255,255,.075);
}


.contact-form-header span{
    display:block;
    margin-bottom:9px;
    color:#8adfff;
    font-size:10px;
    font-weight:800;
    letter-spacing:.15em;
}


.contact-form-header h2{
    max-width:480px;
    margin:0;
    font-family:"Space Grotesk",sans-serif;
    font-size:clamp(28px,3vw,40px);
    line-height:1.08;
    letter-spacing:-.04em;
}


.contact-form-number{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border-radius:14px;
    color:#a5b0ff;
    font-family:"Space Grotesk",sans-serif;
    font-weight:700;
    background:rgba(103,89,255,.1);
    border:1px solid rgba(125,105,255,.18);
}


/* ==========================================================
   FORM GRID
========================================================== */

.contact-form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    margin-bottom:16px;
}


/* ==========================================================
   FORM FIELD
========================================================== */

.contact-field{
    min-width:0;
}


.contact-field label{
    display:block;
    margin:0 0 8px;
    color:#cbd3e6;
    font-size:12px;
    font-weight:700;
}


.contact-field label b{
    color:#75dfff;
}


.contact-field input,
.contact-field select,
.contact-field textarea{
    width:100%;
    border:1px solid rgba(255,255,255,.09);
    outline:none;
    border-radius:14px;
    background:rgba(255,255,255,.035);
    color:#f4f7ff;
    font-family:Inter,sans-serif;
    font-size:13px;
    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}


.contact-field input,
.contact-field select{
    height:50px;
    padding:0 15px;
}


.contact-field textarea{
    min-height:135px;
    padding:15px;
    resize:vertical;
    line-height:1.65;
}


.contact-field input::placeholder,
.contact-field textarea::placeholder{
    color:#68738f;
}


.contact-field select{
    appearance:none;
    cursor:pointer;
    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            #9eabc8 50%
        ),
        linear-gradient(
            135deg,
            #9eabc8 50%,
            transparent 50%
        );
    background-position:
        calc(100% - 18px) 21px,
        calc(100% - 13px) 21px;
    background-size:
        5px 5px,
        5px 5px;
    background-repeat:no-repeat;
}


.contact-field select option{
    color:#111827;
    background:#ffffff;
}


.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus{
    border-color:rgba(88,177,255,.65);
    background:rgba(255,255,255,.055);
    box-shadow:
        0 0 0 4px rgba(40,130,255,.09),
        0 12px 35px rgba(0,0,0,.12);
}


.contact-message-field{
    margin-bottom:18px;
}


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

.contact-form-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
    padding-top:19px;
    border-top:1px solid rgba(255,255,255,.07);
}


.contact-form-footer p{
    max-width:420px;
    margin:0;
    color:#818ba5;
    font-size:11px;
    line-height:1.6;
}


/* ==========================================================
   SUBMIT BUTTON
========================================================== */

.contact-submit-btn{
    min-width:170px;
    height:52px;
    padding:0 19px 0 21px;
    display:inline-flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    border:0;
    border-radius:15px;
    cursor:pointer;
    color:#ffffff;
    font-family:Inter,sans-serif;
    font-size:13px;
    font-weight:800;
    background:
        linear-gradient(
            100deg,
            #0d6efd,
            #7145f5 65%,
            #a743ff
        );
    box-shadow:
        0 13px 35px rgba(80,65,245,.28);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
}


.contact-submit-btn:hover{
    transform:translateY(-3px);
    filter:brightness(1.08);
    box-shadow:
        0 18px 45px rgba(80,65,245,.4);
}


.contact-submit-btn i{
    width:25px;
    height:25px;
    display:grid;
    place-items:center;
    border-radius:8px;
    font-style:normal;
    background:rgba(255,255,255,.14);
}


/* ==========================================================
   BOTTOM CTA
========================================================== */

.contact-bottom-section{
    padding:0 0 68px;
    background:#080d1c;
}


.contact-bottom-card{
    position:relative;
    overflow:hidden;
    padding:38px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    border-radius:28px;
    border:1px solid rgba(255,255,255,.09);
    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(105,70,255,.2),
            transparent 28%
        ),
        linear-gradient(
            120deg,
            #10193a,
            #0b1025
        );
}


.contact-bottom-card::after{
    content:"";
    position:absolute;
    width:280px;
    height:280px;
    right:-130px;
    bottom:-170px;
    border-radius:50%;
    background:
        radial-gradient(
            circle,
            rgba(0,229,195,.13),
            transparent 68%
        );
    pointer-events:none;
}


.contact-bottom-content{
    position:relative;
    z-index:1;
    max-width:650px;
}


.contact-bottom-content .eyebrow{
    margin-bottom:13px;
}


.contact-bottom-content h2{
    margin:0;
    font-family:"Space Grotesk",sans-serif;
    font-size:clamp(30px,4vw,48px);
    line-height:1.06;
    letter-spacing:-.045em;
}


.contact-bottom-content h2 span{
    background:
        linear-gradient(
            90deg,
            #6dd7ff,
            #a273ff,
            #ffb34b
        );
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}


.contact-bottom-content p{
    margin:15px 0 0;
    color:#9da8c2;
    font-size:14px;
    line-height:1.7;
}


.contact-bottom-actions{
    position:relative;
    z-index:2;
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}


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

@keyframes contactAlertIn{

    from{
        opacity:0;
        transform:
            translateY(-8px);
    }

    to{
        opacity:1;
        transform:
            translateY(0);
    }

}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width:1000px){

    .contact-layout{
        grid-template-columns:1fr;
    }


    .contact-information{
        position:relative;
        top:auto;
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:22px;
    }


    .contact-info-heading{
        grid-column:1 / -1;
    }


    .contact-info-list{
        margin-top:0;
    }


    .contact-trust-card{
        margin-top:0;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:700px){

    .contact-page{
        padding-top:70px;
    }


    .contact-hero{
        padding:52px 0 42px;
    }


    .contact-hero h1{
        font-size:42px;
    }


    .contact-hero p{
        font-size:15px;
        margin-top:18px;
    }


    .contact-hero-stats{
        display:grid;
        grid-template-columns:1fr;
        margin-top:28px;
    }


    .contact-stat{
        min-height:82px;
        flex-direction:row;
        align-items:center;
        gap:20px;
    }


    .contact-information{
        display:block;
    }


    .contact-info-list{
        margin-top:25px;
    }


    .contact-trust-card{
        margin-top:18px;
    }


    .contact-main-section{
        padding:48px 0;
    }


    .contact-form{
        padding:20px;
        border-radius:22px;
    }


    .contact-form-header{
        margin-bottom:20px;
        padding-bottom:19px;
    }


    .contact-form-header h2{
        font-size:28px;
    }


    .contact-form-grid{
        grid-template-columns:1fr;
        gap:14px;
        margin-bottom:14px;
    }


    .contact-form-footer{
        flex-direction:column;
        align-items:stretch;
    }


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


    .contact-bottom-section{
        padding-bottom:48px;
    }


    .contact-bottom-card{
        padding:25px;
        flex-direction:column;
        align-items:flex-start;
    }


    .contact-bottom-actions{
        width:100%;
        display:grid;
        grid-template-columns:1fr;
    }


    .contact-bottom-actions .btn{
        width:100%;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width:420px){

    .contact-hero h1{
        font-size:37px;
    }


    .contact-form{
        padding:16px;
    }


    .contact-form-number{
        width:38px;
        height:38px;
        font-size:12px;
    }


    .contact-alert{
        padding:13px;
    }

}