/* =========================================================
   TALONRP DIGITAL
   WEBSITE PROJECT QUESTIONNAIRE
   HOMEPAGE-MATCHED DESIGN
========================================================= */


/* =========================================================
   COLORS
========================================================= */

:root {

    --black: #020208;
    --navy: #05091a;
    --navy-light: #071535;

    --card: rgba(5, 15, 40, 0.92);
    --card-light: rgba(8, 23, 55, 0.95);

    --input: rgba(3, 12, 32, 0.90);

    --blue: #00d9ff;
    --blue-light: #39e7ff;
    --blue-dark: #006cff;

    --purple: #7c3aed;
    --purple-light: #a855f7;

    --orange: #ff8a00;
    --orange-light: #ffa733;

    --white: #ffffff;
    --text: #eaf7ff;
    --muted: #b7c5d8;

    --border: rgba(0, 217, 255, 0.32);
}


/* =========================================================
   RESET
========================================================= */

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


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    font-family: Arial, Helvetica, sans-serif;

    background:
        radial-gradient(ellipse at 20% 45%,
            rgba(110, 0, 255, 0.60),
            transparent 65%),
        radial-gradient(ellipse at 50% 45%,
            rgba(0, 90, 255, 0.70),
            transparent 70%),
        radial-gradient(ellipse at 80% 45%,
            rgba(110, 0, 255, 0.60),
            transparent 65%),
        #050505;

    background-attachment: fixed;
    background-size: 100% 100%;

    color: white;
}


/* =========================================================
   HEADER / LOGO AREA
========================================================= */

.form-header {

    text-align: center;

    padding: 20px 20px 16px;

    background:

        linear-gradient(180deg,
            rgba(2, 2, 8, 0.96),
            rgba(3, 8, 22, 0.88));

    border-bottom:
        1px solid rgba(0, 217, 255, 0.30);

    box-shadow:
        0 8px 35px rgba(0, 0, 0, 0.45);
}


.form-logo {

    display: block;

    width: 110px;

    height: auto;

    margin: 0 auto 8px;

    mix-blend-mode: screen;
}


.form-header p {

    color: var(--white);

    font-size: 0.95rem;

    line-height: 1.4;
}


.logo {

    color: var(--white);

    font-size: 1.8rem;

    font-weight: 700;

    margin-bottom: 5px;
}


.logo span {

    color: var(--blue);
}


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

.form-container {

    width:
        min(calc(100% - 40px),
            1000px);

    margin: 0 auto;

    padding: 30px 0 70px;
}


/* =========================================================
   INTRO
========================================================= */

.intro {

    text-align: center;

    margin-bottom: 32px;

    padding: 0 10px;
}


.intro h1 {

    font-size:
        clamp(2.2rem,
            5vw,
            3.5rem);

    line-height: 1.15;

    margin-bottom: 16px;

    background:

        linear-gradient(90deg,
            #ffffff 0%,
            #dff9ff 35%,
            #00d9ff 62%,
            #c084fc 100%);

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

    filter:
        drop-shadow(0 0 22px rgba(0, 217, 255, 0.22));
}


.intro p {

    max-width: 760px;

    margin:
        0 auto 10px;

    color: var(--white);

    font-size: 0.95rem;
}


.required-note {

    color: var(--muted);

    font-size: 0.82rem;
}


.required-note span,
label span {

    color: var(--orange);
}


/* =========================================================
   FORM CARDS
========================================================= */

.form-section {

    position: relative;

    background:

        linear-gradient(145deg,
            rgba(5, 15, 40, 0.94),
            rgba(3, 10, 28, 0.96));

    border:
        1px solid rgba(0, 217, 255, 0.30);

    border-radius: 18px;

    padding: 34px;

    margin-bottom: 25px;

    box-shadow:

        0 20px 60px rgba(0, 0, 0, 0.50),

        0 0 35px rgba(0, 110, 255, 0.10);

    overflow: hidden;
}


/* Blue glow at top of card */

.form-section::before {

    content: "";

    position: absolute;

    top: 0;

    left: 5%;

    width: 90%;

    height: 2px;

    background:

        linear-gradient(90deg,
            transparent,
            rgba(0, 217, 255, 0.75),
            transparent);

    box-shadow:
        0 0 12px rgba(0, 217, 255, 0.30);
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {

    display: flex;

    align-items: center;

    gap: 16px;

    margin-bottom: 30px;

    padding-bottom: 18px;

    border-bottom:
        1px solid rgba(0, 217, 255, 0.12);
}


.section-number {

    width: 48px;

    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background:

        linear-gradient(135deg,
            var(--blue-dark),
            var(--purple));

    color: white;

    font-weight: 700;

    box-shadow:

        0 0 25px rgba(0, 217, 255, 0.22);
}


.section-heading h2 {

    color: var(--white);

    font-size: 1.4rem;

    margin-bottom: 3px;
}


.section-heading p {

    color: var(--muted);

    font-size: 0.85rem;
}


/* =========================================================
   FORM GROUPS
========================================================= */

.form-group {

    margin-bottom: 24px;
}


.form-group:last-child {

    margin-bottom: 0;
}


.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;
}


/* =========================================================
   LABELS
========================================================= */

label {

    display: block;

    color: var(--white);

    font-size: 0.9rem;

    font-weight: 600;

    margin-bottom: 8px;
}


/* =========================================================
   INPUTS
========================================================= */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="file"],
textarea,
select {

    width: 100%;

    padding: 13px 15px;

    border:
        1px solid rgba(0, 217, 255, 0.20);

    border-radius: 9px;

    background:

        linear-gradient(145deg,
            rgba(3, 12, 32, 0.96),
            rgba(5, 18, 42, 0.92));

    color: var(--white);

    font-family: inherit;

    font-size: 0.9rem;

    outline: none;

    transition:
        0.25s ease;
}


textarea {

    min-height: 105px;

    resize: vertical;
}


input::placeholder,
textarea::placeholder {

    color: #71819a;
}


/* =========================================================
   INPUT FOCUS
========================================================= */

input:focus,
textarea:focus,
select:focus {

    border-color:
        var(--blue);

    background:
        rgba(5, 20, 50, 0.98);

    box-shadow:

        0 0 0 3px rgba(0, 217, 255, 0.08),

        0 0 20px rgba(0, 217, 255, 0.12);
}


select {

    cursor: pointer;
}


input[type="file"] {

    cursor: pointer;
}


/* =========================================================
   RADIO / CHECKBOX
========================================================= */

.radio-group,
.checkbox-group {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;
}


.choice {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 12px 14px;

    margin: 0;

    border:
        1px solid rgba(0, 217, 255, 0.14);

    border-radius: 9px;

    background:
        rgba(3, 12, 32, 0.78);

    color: var(--text);

    cursor: pointer;

    font-weight: 400;

    transition:
        0.2s ease;
}


.choice:hover {

    border-color:
        rgba(0, 217, 255, 0.42);

    background:
        rgba(0, 110, 255, 0.10);

    box-shadow:
        0 0 15px rgba(0, 217, 255, 0.07);
}


.choice input {

    width: 16px;

    height: 16px;

    flex-shrink: 0;

    accent-color:
        var(--blue);
}


.choice span {

    color: var(--text);
}


/* =========================================================
   FIELD NOTES
========================================================= */

.field-note {

    margin-top: 7px;

    color: var(--muted);

    font-size: 0.78rem;
}


/* =========================================================
   MEDIA INFO
========================================================= */

.media-info {

    padding: 20px;

    margin-bottom: 24px;

    border-radius: 12px;

    background:

        linear-gradient(135deg,
            rgba(0, 110, 255, 0.12),
            rgba(124, 58, 237, 0.10));

    border:
        1px solid rgba(0, 217, 255, 0.20);
}


.media-info h3 {

    color: var(--white);

    font-size: 1rem;

    margin-bottom: 7px;
}


.media-info p {

    color: var(--muted);

    font-size: 0.85rem;

    margin-bottom: 7px;
}


.media-info p:last-child {

    margin-bottom: 0;
}


/* =========================================================
   SUBMIT SECTION
========================================================= */

.submit-section {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 32px;

    margin-top: 30px;

    border-radius: 18px;

    border:
        1px solid rgba(0, 217, 255, 0.25);

    background:

        linear-gradient(135deg,
            rgba(5, 15, 40, 0.96),
            rgba(3, 10, 28, 0.96));

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.45);
}


.submit-section h2 {

    color: var(--white);

    margin-bottom: 5px;
}


.submit-section p {

    color: var(--muted);

    font-size: 0.85rem;
}


/* =========================================================
   ORANGE BUTTON
========================================================= */

.submit-button {

    border: none;

    border-radius: 9px;

    padding: 14px 25px;

    background:
        linear-gradient(135deg,
            #ff8a00,
            #ff9f2f);

    color: white;

    font-family: inherit;

    font-size: 0.9rem;

    font-weight: 700;

    cursor: pointer;

    white-space: nowrap;

    box-shadow:

        0 0 20px rgba(255, 138, 0, 0.25),

        0 8px 25px rgba(0, 0, 0, 0.25);

    transition:
        0.25s ease;
}


.submit-button:hover {

    transform:
        translateY(-2px);

    box-shadow:

        0 0 28px rgba(255, 138, 0, 0.40),

        0 12px 30px rgba(0, 0, 0, 0.30);
}


.submit-button:active {

    transform:
        translateY(0);
}


.submit-button:disabled {

    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}


.submit-button span {

    margin-left: 8px;

    font-size: 1.1rem;
}


/* =========================================================
   SUCCESS MESSAGE
========================================================= */

.success-message {

    display: none;

    width: 100%;

    min-height: 350px;

    padding: 60px 30px;

    text-align: center;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    border-radius: 18px;

    border:
        1px solid rgba(0, 217, 255, 0.28);

    background:

        radial-gradient(circle at 50% 20%,
            rgba(0, 110, 255, 0.30),
            transparent 55%),

        rgba(5, 15, 40, 0.95);

    box-shadow:
        0 25px 65px rgba(0, 0, 0, 0.50);
}


.success-message.show {

    display: flex;
}


.success-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 80px;

    height: 80px;

    margin-bottom: 24px;

    border-radius: 50%;

    background:

        linear-gradient(135deg,
            var(--blue-dark),
            var(--purple));

    color: white;

    font-size: 2.4rem;

    box-shadow:

        0 0 35px rgba(0, 217, 255, 0.35);
}


.success-message h2 {

    color: var(--white);

    font-size: 1.7rem;

    margin-bottom: 10px;
}


.success-message p {

    max-width: 600px;

    margin: 0 auto;

    color: var(--muted);
}


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

.form-footer {

    text-align: center;

    padding: 25px 20px;

    border-top:
        1px solid rgba(0, 217, 255, 0.12);

    background:
        rgba(2, 2, 8, 0.85);

    color: #71819a;

    font-size: 0.75rem;
}


/* =========================================================
   THANK YOU PAGE
========================================================= */

.thank-you-page {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    background:

        radial-gradient(circle at 50% 25%,
            rgba(0, 110, 255, 0.65),
            transparent 38%),

        radial-gradient(circle at 20% 55%,
            rgba(124, 58, 237, 0.25),
            transparent 38%),

        linear-gradient(180deg,
            #020208,
            #04091b,
            #020208);
}


.thank-you-card {

    width:
        min(100%,
            700px);

    padding: 60px 40px;

    text-align: center;

    border-radius: 20px;

    border:
        1px solid rgba(0, 217, 255, 0.30);

    background:

        linear-gradient(145deg,
            rgba(5, 15, 40, 0.96),
            rgba(3, 10, 28, 0.98));

    box-shadow:

        0 25px 70px rgba(0, 0, 0, 0.55),

        0 0 40px rgba(0, 110, 255, 0.10);
}


.thank-you-card .success-icon {

    margin:
        0 auto 25px;

    width: 85px;

    height: 85px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:

        linear-gradient(135deg,
            var(--blue-dark),
            var(--purple));

    color: white;

    font-size: 2.5rem;

    box-shadow:
        0 0 40px rgba(0, 217, 255, 0.35);
}


.thank-you-label {

    color: var(--blue);

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 10px;
}


.thank-you-card h1 {

    color: white;

    font-size:
        clamp(2rem,
            5vw,
            3rem);

    margin-bottom: 20px;
}


.thank-you-text {

    max-width: 580px;

    margin:
        0 auto 12px;

    color: var(--muted);

    font-size: 0.95rem;
}


.back-button {

    display: inline-block;

    margin-top: 25px;

    padding: 14px 25px;

    border-radius: 9px;

    background:

        linear-gradient(135deg,
            #ff8a00,
            #ff9f2f);

    color: white;

    text-decoration: none;

    font-weight: 700;

    box-shadow:
        0 0 20px rgba(255, 138, 0, 0.22);

    transition:
        0.25s ease;
}


.back-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 0 30px rgba(255, 138, 0, 0.40);
}


/* =========================================================
   FLOATING START PROJECT BUTTON
========================================================= */

.floating-project-button {

    position: fixed;

    left: 20px;

    top: 50%;

    transform:
        translateY(-50%);

    z-index: 999;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 13px 18px;

    border-radius: 9px;

    background:
        linear-gradient(135deg,
            #ff8a00,
            #ff9f2f);

    color: white;

    text-decoration: none;

    font-weight: 700;

    font-size: 0.82rem;

    box-shadow:

        0 0 20px rgba(255, 138, 0, 0.30),

        0 8px 25px rgba(0, 0, 0, 0.35);

    transition:
        0.25s ease;
}


.floating-project-button:hover {

    transform:
        translateY(-50%) translateX(3px);

    box-shadow:

        0 0 30px rgba(255, 138, 0, 0.50);
}


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

@media (max-width: 700px) {

    .form-container {

        width:
            calc(100% - 24px);

        padding:
            25px 0 55px;
    }


    .form-header {

        padding:
            18px 15px 12px;
    }


    .form-logo {

        width: 95px;
    }


    .form-section {

        padding:
            25px 20px;

        border-radius:
            15px;
    }


    .section-heading {

        align-items:
            flex-start;

        gap: 12px;
    }


    .section-number {

        width: 42px;

        height: 42px;
    }


    .section-heading h2 {

        font-size:
            1.2rem;
    }


    .form-row {

        grid-template-columns:
            1fr;

        gap: 0;
    }


    .radio-group,
    .checkbox-group {

        grid-template-columns:
            1fr;
    }


    .submit-section {

        flex-direction:
            column;

        align-items:
            stretch;

        text-align:
            center;

        padding:
            28px 20px;
    }


    .submit-button {

        width: 100%;
    }


    .intro h1 {

        font-size:
            clamp(2rem,
                9vw,
                2.8rem);
    }


    .floating-project-button {

        left: 10px;

        padding:
            11px 14px;

        font-size:
            0.75rem;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {

    .form-container {

        width:
            calc(100% - 16px);
    }


    .form-section {

        padding:
            21px 16px;
    }


    .section-number {

        width: 38px;

        height: 38px;
    }


    .section-heading h2 {

        font-size:
            1.05rem;
    }


    .thank-you-page {

        padding:
            18px;
    }


    .thank-you-card {

        padding:
            45px 22px;
    }


    .floating-project-button {

        left: 8px;

        padding:
            10px 12px;

        font-size:
            0.7rem;
    }
}