/* --- Variables & Reset --- */
:root {
    --bg-dark: #0a0e17;
    --bg-gradient-start: #2c1345; /* Purple top left */
    --bg-gradient-end: #0f172a;   /* Dark blue bottom right */
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --accent-pink: #d946ef;
    --card-white: #f5f5f5;
    --btn-dark: #2a2a35;
    --font-main: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    background: linear-gradient(160deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 60%, #1a0b2e 100%);
    color: var(--text-white);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Header --- */
.site-header {
    padding: 10px 0;
    background: #000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--accent-pink); /* Using pink for the VN logo mark */
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login {
    background-color: #5b8df8;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 100px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 1.8rem;
    color: var(--accent-pink);
    font-weight: 600;
    margin-bottom: 60px;
}

.btn-pill {
    background: black;
    border: 1px solid #333;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    letter-spacing: 1px;
    display: inline-block;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

/* --- Products Section --- */
.products {
    padding: 40px 0;
    text-align: center;
    padding-top: 0;
}

.section-title {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 400;
    font-family: monospace; /* Tech look */
}

.section-desc {
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.cards-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.card {
    background-color: var(--card-white);
    color: #333;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card h3 {
    color: var(--accent-pink);
    text-transform: uppercase;
    margin-bottom: 30px;
    font-size: 2.2rem;
    line-height: 1.4;
}

.btn-dark {
    background-color: #2b2640;
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
}

/* --- Clients Section --- */
.clients {
    padding: 80px 0;
    text-align: center;
}

.clients h3 {
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

/* Mimicking logos with text styles based on image */
.client-logo {
    font-weight: 900;
    font-size: 2.5rem;
    text-transform: uppercase;
}
.volare { color: #a855f7; font-family: sans-serif; }
.magnus { color: #3b82f6; text-transform: lowercase; }
.eyden { color: #eab308; }
.clabstream { color: #f97316; font-family: serif; font-style: italic; }
.futurama { color: #ef4444; font-stretch: condensed; }
.verse { color: #c084fc; font-family: monospace; }
.vamos { color: #22c55e; font-style: italic; }

/* --- Contact Form --- */
.contact {
    padding: 60px 0 100px;
}

.form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #555;
    color: white;
    padding: 10px 0;
    font-family: inherit;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--text-white);
}

.form-footer {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-outline {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 8px 30px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: white;
    color: black;
}

#formFeedback {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9rem;
}

.success { color: #4ade80; }
.error { color: #f87171; }

/* --- Footer --- */
.site-footer {
    background-color: #000;
    padding-top: 60px;
    font-size: 0.8rem;
    border-top: 1px solid #222;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    gap: 20px;
}

.footer-brand .icons span {
    display: block;
    margin-top: 10px;
    color: white;
}

.footer-social h4 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-social .social-icons {
    display: flex;
    gap: 10px;
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    color: #666;
}

.footer-bottom a {
    margin: 0 5px;
}

.footer-bottom a:hover {
    color: white;
}

.desc-content {
    display: flex;
    margin-top: 30px;
    gap: 20px;
}

.content-text {
    flex: 1;
}

.title-form {
    text-align: center;
    font-size: 30px;
    margin-bottom: 25px;
    font-weight: bold;
}

.footer-brand {
    flex: 3;
}

.footer-follow-us {
    flex: 1;
}

/* Background overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

/* White rounded box */
.modal-box {
    width: 420px;
    background: #fff;
    padding: 35px 30px;
    border-radius: 22px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    animation: fadeIn .25s ease;
    text-align: center;
}

/* Close button inside corner */
.close-modal {
    position: absolute;
    right: 20px;
    top: 16px;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

/* Title */
.modal-box .title {
    margin-bottom: 28px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

/* Google sign-in button */
.google-btn {
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px;
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1.5px solid #dcdcdc;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 500;
    color: #555;
}
.google-icon {
    width: 22px;
}

/* Separator with OR */
.separator {
    margin: 25px 0;
    display: flex;
    align-items: center;
    text-align: center;
}
.separator::before,
.separator::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #dcdcdc;
}
.separator span {
    padding: 0 12px;
    color: #999;
    font-size: 13px;
}

/* Form fields */
.form-group.login-form input {
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    border: 1.5px solid #dcdcdc;
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
}

/* Primary button */
.btn-submit {
    width: 100%;
    padding: 13px;
    border-radius: 14px;
    border: none;
    background: #000;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
}

/* Footer text */
.footer-text {
    margin-top: 20px;
    font-size: 12px;
    color: #555;
}
.footer-text a {
    color: #000;
    font-weight: 500;
    text-decoration: none;
}

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

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    align-items: center;
    justify-content: center
}

.modal-content {
    position: relative;
    background: #fff;
    color: #222;
    border-radius: 12px;
    padding: 24px;
    width: 92%;
    max-width: 680px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2
}

.modal-close {
    position: absolute;
    right: 12px;
    top: 8px;
    background: transparent;
    border: 0;
    font-size: 24px;
    cursor: pointer
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px
}

.form-row {
    margin-bottom: 12px
}

.form-row label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #f6f6f6
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 10px
}

.form-actions .btn-dark {
    min-width: 160px
}

@media (min-width:768px) {
    .modal-content {
        padding: 36px
    }
}

.profile-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

#profileAvatar {
    width: 36px;            /* ukuran avatar */
    height: 36px;           /* square */
    border-radius: 50%;     /* bulat */
    object-fit: cover;      /* crop rapi */
    border: 2px solid #fff; /* opsional */
}

.profile-name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;            /* sesuaikan tema */
}

.logout-link {
    font-size: 12px;
    color: #ffdddd;         /* soft red */
    text-decoration: none;
}

.logout-link:hover {
    text-decoration: underline;
}


.google-btn-wrapper {
    width: 100%;                   /* sama lebar input */
    display: flex;
    justify-content: center;       /* center horizontal */
    margin-bottom: 20px;           /* spasi ke separator */
}

/* Optional: beri max-width agar tidak terlalu lebar di desktop */
.google-btn-wrapper {
    max-width: 400px;
}

/* Jika ingin memberikan efek visual pada container */
.google-btn-wrapper::before {
    content: '';
    display: block;
}
