﻿/* ==========================================
CYBER PROSPERITY CONTACT PAGE
========================================== */

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

:root{

    --bg:#08111F;
    --card:#121C2F;
    --card2:#18233A;
    --gold:#D4AF37;
    --gold2:#F2C94C;
    --text:#F8FAFC;
    --muted:#94A3B8;
    --border:rgba(255,255,255,.08);

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:Inter,sans-serif;
    background:var(--bg);
    color:var(--text);

}

a{

    color:inherit;
    text-decoration:none;

}

img{

    display:block;
    max-width:100%;

}

/* ==========================================
NAVBAR
========================================== */

.cp-nav{

    position:absolute;
    top:0;
    left:0;
    width:100%;
    min-height:98px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:nowrap;
    padding:28px 80px;
    background:transparent;
    border:none;
    z-index:1000;

}

.cp-brand,
.cp-nav-right{
    flex-shrink:0;
}

.cp-brand{
    display:flex;
    align-items:center;
    gap:14px;
    font-weight:700;
    font-size:22px;

}

.cp-badge{

    width:42px;
    height:42px;
    border-radius:12px;
    background:linear-gradient(135deg,var(--gold2),var(--gold));
    display:flex;
    justify-content:center;
    align-items:center;
    color:#111;
    font-weight:800;

}

.cp-links{

    display:flex;
    gap:40px;
    flex-wrap:nowrap;
    flex-shrink:0;

}

.cp-links a{

    color:#CBD5E1;
    transition:color .3s;
    white-space:nowrap;

}

.cp-links a:hover,
.cp-links .active{

    color:var(--gold2);

}

.cp-nav-right{

    display:flex;

    gap:15px;

}

.cp-signin{

    padding:10px 18px;

}

.cp-join{

    background:linear-gradient(135deg,var(--gold2),var(--gold));

    color:#111;

    padding:12px 24px;

    border-radius:12px;

    font-weight:700;

}

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

.cp-hero{

    position:relative;
    min-height:720px;
    display:flex;
    align-items:center;
    overflow:hidden;
    padding:0 80px;
    background-image:
        linear-gradient(
            90deg,
            rgba(8,17,31,.92) 0%,
            rgba(8,17,31,.82) 45%,
            rgba(8,17,31,.55) 100%
        ),
        url("../images/contact-banner.webp");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

}

.cp-hero-bg{

    position:absolute;
    inset:0;
    z-index:1;

}

.cp-hero-bg img{

    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:.65;

}

.cp-hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(90deg,
    rgba(8,17,31,.95),
    rgba(8,17,31,.65),
    rgba(8,17,31,.2));
    z-index:2;

}

.cp-hero-copy,
.cp-float{

    position:relative;
    z-index:2;
}

.cp-eyebrow{

    display:inline-block;
    padding:10px 18px;
    border-radius:50px;
    background:rgba(212,175,55,.12);
    border:1px solid rgba(212,175,55,.3);
    color:var(--gold2);
    margin-bottom:25px;

}

.cp-title{

    font-size:58px;
    font-weight:800;
    line-height:1.1;
    margin-bottom:25px;

}

.cp-accent{

    color:var(--gold2);

}

.cp-title svg{

    display:block;
    width:220px;
    margin-top:5px;

}

.cp-hero-copy p{

    color:var(--muted);
    line-height:1.9;
    font-size:18px;

}

/* ==========================================
HERO FADE BOTTOM
========================================== */

.cp-hero::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom: -2px;
    height:240px;
    background:linear-gradient(
        to bottom,
        rgba(8,17,31,0) 0%,
        rgba(8,17,31,.15) 20%,
        rgba(8,17,31,.45) 45%,
        rgba(8,17,31,.80) 70%,
        #08111F 100%
    );

    z-index:1;
    pointer-events:none;

}

/* ==========================================
CONTENT
========================================== */

.cp-content{

    position:relative;
    max-width:1220px;
    margin:-140px auto 80px;
    padding:0 40px;
    display:flex;
    flex-direction:column;
    gap:40px;
    z-index:10;

}

.cp-section-label h2{

    font-size:34px;
    margin-bottom:10px;

}

.cp-section-label p{

    color:var(--muted);
    margin-bottom:35px;

}

/* ==========================================
CONTACT LAYOUT (form + info card)
========================================== */

.cp-contact-section{

    max-width:1400px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr 520px;
    gap:40px;
    align-items:start;

}

.cp-form-card{

    background:var(--card);
    border:1px solid var(--border);
    border-radius:20px;
    padding:32px;

}

.cp-form-card h3{

    font-size:22px;
    margin-bottom:8px;

}

.cp-form-card > p{

    color:var(--muted);
    margin-bottom:24px;

}

.cp-form-group{

    margin-bottom:18px;

}

.cp-form-group label{

    display:block;
    margin-bottom:8px;
    font-size:14px;
    font-weight:600;
    color:var(--text);

}

.cp-form-group input,
.cp-form-group textarea{

    width:100%;
    padding:14px 16px;
    background:var(--card2);
    border:1px solid var(--border);
    border-radius:10px;
    color:var(--text);
    font-size:15px;
    font-family:inherit;
    transition:.25s;

}

.cp-form-group input:focus,
.cp-form-group textarea:focus{

    outline:none;
    border-color:var(--gold2);

}

.cp-form-group textarea{

    resize:none;

}

.cp-form-btn{

    width:100%;
    padding:14px;
    background:linear-gradient(135deg,var(--gold2),var(--gold));
    color:#111;
    border:none;
    border-radius:12px;
    font-weight:700;
    font-size:15px;
    cursor:pointer;
    transition:.25s;

}

.cp-form-btn:hover{

    transform:translateY(-2px);

}

/* ==========================================
INFO CARD
========================================== */

.cp-info-grid{

    display:flex;
    flex-direction:column;
    gap:20px;

}

.cp-info-card{

    background:var(--card);
    border:1px solid var(--border);
    border-radius:20px;
    padding:28px;
    min-height:110px;

    display:flex;
    flex-direction:column;
    justify-content:flex-start;

    transition:.35s;

}

.cp-info-card:hover{

    transform:translateY(-6px);
    background:var(--card2);

}

.cp-info-ic{

    width:42px;
    height:42px;
    border-radius:11px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:18px;
    font-weight:700;

    margin-bottom:14px;

}

.cp-info-card h4{

    margin-bottom:10px;

}

.cp-value{

    color:var(--gold2);

}

.cp-note{

    margin-top:10px;
    color:var(--muted);
    line-height:1.6;

}

/* ==========================================
FLOATING CARD (widget chat "Adinda")
========================================== */

.cp-float{

    position:absolute;
    right:100px;
    top:40%;
    transform:translateY(-50%);
    width:300px;
    background:rgba(18,28,47,.95);
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    padding:28px;
    backdrop-filter:blur(18px);
    box-shadow:0 25px 60px rgba(0,0,0,.35);
    z-index:10;

}

.cp-float .row{

    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:18px;

}

.cp-avatar{

    width:56px;
    height:56px;
    border-radius:50%;
    background:linear-gradient(135deg,#FFD54A,#D4AF37);

}

.cp-status{

    color:#41D97B;
    font-size:14px;
    font-weight:600;

}

.cp-float p{

    color:var(--muted);
    line-height:1.7;

}

.cp-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

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

@media(max-width:992px){

    .cp-nav{
        padding:20px;
        flex-wrap:wrap;
        height:auto;
        gap:20px;
    }

    .cp-hero{

        position:relative;
        min-height:720px;
        display:flex;
        align-items:center;
        overflow:hidden;
        padding:0 80px;

        background-image:
            linear-gradient(
                90deg,
                rgba(8,17,31,.92),
                rgba(8,17,31,.75),
                rgba(8,17,31,.45)
            ),
            url("../images/hero/contact-banner.png");

        background-size:cover;
        background-position:center;
        background-repeat:no-repeat;

    }

    .cp-title{
        font-size:42px;
    }

    .cp-float{
        width:260px;
        right:30px;
        padding:22px;
    }

}

@media (max-width: 768px) {

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

    .cp-nav {
        position: relative;
        width: 100%;
        min-height: 116px;
        padding: 12px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
        background: rgba(11, 15, 24, .96);
        border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

    .cp-brand {
        order: 1;
        font-size: 18px;
    }

    .cp-brand-logo,
    .cp-logo-img {
        width: 38px;
        height: 38px;
    }

    .cp-nav-right {
        order: 2;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .cp-signin {
        min-height: 38px;
        padding: 10px;
        font-size: 12px;
    }

    .cp-join {
        min-height: 38px;
        padding: 11px 13px;
        font-size: 12px;
    }

    .cp-links {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        gap: 20px;
        padding: 5px 0 2px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .cp-links::-webkit-scrollbar {
        display: none;
    }

    .cp-links a {
        flex-shrink: 0;
        padding: 8px 0;
        font-size: 12px;
    }

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

    .cp-hero {
        min-height: auto;
        padding: 56px 20px 48px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        overflow: hidden;
    }

    .cp-hero-copy {
        width: 100%;
    }

    .cp-eyebrow {
        margin-bottom: 18px;
        padding: 8px 14px;
        font-size: 12px;
    }

    .cp-title {
        max-width: 100%;
        margin-bottom: 20px;
        font-size: 34px;
        line-height: 1.15;
    }

    .cp-title svg {
        max-width: 180px;
    }

    .cp-hero-copy p {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.7;
    }

    /* Widget Adinda menjadi card normal */

    .cp-float {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 22px;
        border-radius: 18px;
    }

    /* ==========================================
       CONTACT CONTENT
    ========================================== */

    .cp-content {
        width: 100%;
        margin: 0 auto 50px;
        padding: 40px 20px 0;
        gap: 25px;
    }

    .cp-section-label h2 {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .cp-section-label p {
        margin-bottom: 24px;
        line-height: 1.6;
    }

    .cp-contact-section {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cp-form-card {
        width: 100%;
        padding: 24px;
    }

    .cp-info-grid,
    .cp-info-card {
        width: 100%;
    }
}