/* ================= CONTACT PAGE (SAAS PREMIUM) ================= */

.contact-page {
    padding-top: 120px;
    padding-bottom: 90px;
}

/* HERO */
.contact-hero {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 70px;
}

.contact-hero h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.contact-hero p {
    margin-top: 18px;
    color: var(--light);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* LAYOUT */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: stretch;
}

/* LEFT CARD */
.contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    backdrop-filter: blur(26px);
    border-radius: 34px;
    padding: 34px;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(
        circle at top left,
        rgba(110, 168, 254, 0.18),
        transparent 60%
    );
    z-index: 0;
}

.contact-card > * {
    position: relative;
    z-index: 1;
}

.contact-card h2 {
    font-size: 2rem;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
}

.contact-card p {
    color: var(--light);
    line-height: 1.8;
    margin-bottom: 26px;
}

/* INFO BOXES */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info-box {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.14);
    border: 1px solid var(--border);
    transition: 0.25s ease;
}

.contact-info-box:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.18);
}

.contact-info-box span {
    display: block;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.contact-info-box h4 {
    font-size: 1rem;
    font-weight: 700;
}

/* FORM CARD */
.contact-form-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    backdrop-filter: blur(26px);
    border-radius: 34px;
    padding: 34px;
    box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
    font-size: 2rem;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
}

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.14);
    padding: 16px 18px;
    border-radius: 18px;
    outline: none;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: 0.25s ease;
    backdrop-filter: blur(10px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(110, 168, 254, 0.15);
    transform: translateY(-1px);
}

.contact-form textarea {
    min-height: 160px;
    resize: none;
}

/* BUTTON */
.contact-submit {
    border: none;
    padding: 16px;
    border-radius: 18px;
    cursor: pointer;
    font-weight: 800;
    font-size: 1rem;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.contact-submit:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
}

/* STATUS MESSAGES */
#successMsg {
    margin-top: 10px;
    color: #00c46a;
    font-weight: 600;
}

#errorMsg {
    margin-top: 10px;
    color: #ff4d4d;
    font-weight: 600;
}

/* MOBILE */
@media (max-width: 950px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-hero h1 {
        font-size: 2.4rem;
    }

    .contact-card,
    .contact-form-wrap {
        padding: 24px;
        border-radius: 26px;
    }
}
