/* =========================================================
   WEBOMM AGREEMENT GENERATOR
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(156,108,255,0.17),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(111,74,180,0.14),
            transparent 35%
        ),
        #211536;

    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: auto;
}

/* =========================================================
   BACKGROUND GLOW
========================================================= */

body::before {
    content: "";

    position: fixed;

    width: 500px;
    height: 500px;

    background: #9c6cff;

    filter: blur(220px);

    opacity: 0.07;

    top: -160px;
    right: -160px;

    z-index: -1;

    pointer-events: none;
}

/* =========================================================
   HEADER
========================================================= */

header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 9999;

    background: rgba(18,10,30,0.90);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom:
        1px solid rgba(156,108,255,0.20);

    box-shadow:
        0 8px 30px rgba(0,0,0,0.25);
}

nav {
    min-height: 80px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    position: relative;
}

/* =========================================================
   BACK
========================================================= */

.back-btn {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 10px 19px;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    border-radius: 50px;

    border:
        1px solid rgba(156,108,255,0.35);

    background:
        rgba(156,108,255,0.07);

    transition: 0.35s ease;
}

.back-btn:hover {
    background: #9c6cff;

    transform: translateX(-4px);

    box-shadow:
        0 0 25px rgba(156,108,255,0.30);
}

/* =========================================================
   LOGO
========================================================= */

.logo {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    font-family: 'Cinzel', serif;

    font-size: 27px;

    font-weight: 700;

    letter-spacing: 1px;
}

.logo span {
    color: #9c6cff;
}

/* =========================================================
   NAV LABEL
========================================================= */

.nav-label {
    margin-left: auto;

    color: #aaa0b8;

    font-size: 13px;
}

/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 410px;

    padding:
        140px 20px
        65px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(156,108,255,0.12),
            transparent 52%
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    background: #9c6cff;

    filter: blur(210px);

    opacity: 0.06;

    left: -180px;
    bottom: -180px;
}

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 780px;
}

/* =========================================================
   BADGE
========================================================= */

.hero-badge {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 9px 18px;

    margin-bottom: 22px;

    border-radius: 50px;

    color: #cdbbff;

    background:
        rgba(156,108,255,0.08);

    border:
        1px solid rgba(156,108,255,0.25);

    font-size: 13px;
}

.hero-badge i {
    color: #9c6cff;
}

/* =========================================================
   HERO TEXT
========================================================= */

.hero h1 {
    font-family: 'Cinzel', serif;

    font-size: 58px;

    line-height: 1.2;

    font-weight: 600;

    margin-bottom: 18px;
}

.hero h1 span {
    color: #9c6cff;

    text-shadow:
        0 0 25px rgba(156,108,255,0.25);
}

.hero p {
    max-width: 700px;

    margin: auto;

    color: #cfc7dd;

    font-size: 15px;

    line-height: 1.8;
}

/* =========================================================
   AGREEMENT SECTION
========================================================= */

.agreement-section {
    padding: 65px 0 20px;
}

/* =========================================================
   CARD
========================================================= */

.agreement-card {
    padding: 42px;

    border-radius: 32px;

    background:
        linear-gradient(
            145deg,
            rgba(156,108,255,0.13),
            rgba(255,255,255,0.025)
        );

    border:
        1px solid rgba(156,108,255,0.24);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.23),
        inset 0 0 35px rgba(156,108,255,0.025);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* =========================================================
   FORM HEADER
========================================================= */

.form-header {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 35px;
}

.form-header-icon {
    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #9c6cff,
            #7650bd
        );

    font-size: 20px;

    box-shadow:
        0 0 25px rgba(156,108,255,0.20);
}

.form-header h2 {
    font-family: 'Cinzel', serif;

    font-size: 25px;

    margin-bottom: 3px;
}

.form-header p {
    color: #9990a7;

    font-size: 12px;
}

/* =========================================================
   FORM GRID
========================================================= */

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* =========================================================
   LABEL
========================================================= */

.form-group label {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 8px;

    color: #ddd5e7;

    font-size: 13px;

    font-weight: 500;
}

.form-group label i {
    color: #9c6cff;

    font-size: 12px;
}

/* =========================================================
   INPUT / SELECT
========================================================= */

.form-group input,
.form-group select {
    width: 100%;

    height: 54px;

    padding: 0 17px;

    border-radius: 14px;

    outline: none;

    border:
        1px solid rgba(156,108,255,0.20);

    background:
        rgba(8,5,15,0.40);

    color: #ffffff;

    font-family: 'Poppins', sans-serif;

    font-size: 14px;

    transition: 0.3s ease;
}

.form-group input::placeholder {
    color: #756d7f;
}

.form-group input:focus,
.form-group select:focus {
    border-color:
        rgba(156,108,255,0.65);

    background:
        rgba(156,108,255,0.06);

    box-shadow:
        0 0 20px rgba(156,108,255,0.08);
}

/* SELECT */

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #211536;

    color: #ffffff;
}

/* DATE / TIME */

input[type="date"],
input[type="time"] {
    color-scheme: dark;
}

/* =========================================================
   DECLARATION
========================================================= */

.declaration-box {
    margin-top: 30px;

    padding: 25px;

    border-radius: 20px;

    background:
        rgba(156,108,255,0.055);

    border:
        1px solid rgba(156,108,255,0.18);
}

.declaration-title {
    display: flex;

    align-items: center;

    gap: 9px;

    color: #ffffff;

    font-size: 15px;

    font-weight: 600;

    margin-bottom: 12px;
}

.declaration-title i {
    color: #9c6cff;
}

.declaration-box p {
    color: #bdb4c9;

    font-size: 13px;

    line-height: 1.8;

    margin-bottom: 18px;
}

/* =========================================================
   CHECKBOX
========================================================= */

.checkbox-row {
    display: flex;

    align-items: center;

    gap: 12px;

    cursor: pointer;

    color: #ddd5e7;

    font-size: 13px;
}

.checkbox-row input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.custom-check {
    width: 22px;
    height: 22px;

    flex-shrink: 0;

    border-radius: 7px;

    border:
        1px solid rgba(156,108,255,0.40);

    background:
        rgba(156,108,255,0.06);

    position: relative;

    transition: 0.3s ease;
}

.checkbox-row input:checked + .custom-check {
    background: #9c6cff;

    border-color: #9c6cff;

    box-shadow:
        0 0 15px rgba(156,108,255,0.25);
}

.checkbox-row input:checked + .custom-check::after {
    content: "✓";

    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -55%);

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;
}

/* =========================================================
   DOWNLOAD BUTTON
========================================================= */

.download-btn {
    width: 100%;

    min-height: 58px;

    margin-top: 28px;

    border: none;

    border-radius: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    background:
        linear-gradient(
            135deg,
            #9c6cff,
            #7650bd
        );

    color: #ffffff;

    font-family: 'Poppins', sans-serif;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 12px 30px rgba(156,108,255,0.18);

    transition: 0.35s ease;
}

.download-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 40px rgba(156,108,255,0.32);
}

.download-btn i {
    font-size: 18px;
}

/* =========================================================
   PRIVACY
========================================================= */

.privacy-note {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 7px;

    margin-top: 16px;

    color: #746c7d;

    font-size: 11px;

    text-align: center;
}

.privacy-note i {
    color: #9c6cff;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
    margin-top: 75px;

    padding: 28px 20px;

    text-align: center;

    color: #81788c;

    font-size: 12px;

    background:
        rgba(7,4,12,0.75);

    border-top:
        1px solid rgba(156,108,255,0.12);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 750px) {

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    .nav-label {
        display: none;
    }

    .hero h1 {
        font-size: 45px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {
        width: 90%;
    }

    nav {
        min-height: 72px;
    }

    .logo {
        font-size: 22px;
    }

    .back-btn {
        padding: 8px 14px;

        font-size: 12px;
    }

    .hero {
        min-height: 390px;

        padding:
            125px 20px
            55px;
    }

    .hero-badge {
        font-size: 11px;

        padding: 8px 14px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 13px;
    }

    .agreement-section {
        padding: 45px 0 10px;
    }

    .agreement-card {
        padding: 25px 18px;

        border-radius: 24px;
    }

    .form-header {
        margin-bottom: 27px;
    }

    .form-header-icon {
        width: 48px;
        height: 48px;
    }

    .form-header h2 {
        font-size: 21px;
    }

    .declaration-box {
        padding: 20px;

        border-radius: 17px;
    }

    .download-btn {
        font-size: 13px;
    }

    footer {
        margin-top: 55px;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 32px;
    }

    .agreement-card {
        padding: 22px 15px;
    }

    .declaration-box p {
        font-size: 12px;
    }

    .checkbox-row {
        font-size: 12px;
    }
}




/* =========================
   TODAY'S PAYMENT
========================= */

#todayPayment {
    width: 100%;
}


/* =========================
   MOBILE
========================= */


