/* ===========================
   SAY HI PAGE - FORM LEFT, GREETING RIGHT
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
    overflow: hidden;
    background: #000;
    color: #fff;
    height: 100vh;
}

/* ===========================
   CUSTOM CURSOR
   =========================== */
#cursor {
    position: fixed;
    width: 13px;
    height: 13px;
    background: rgba(255, 255, 255, 0.586);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    opacity: 0.7;
    transition: transform 0.15s ease;
    transform: translate(-50%, -50%);
}

#cursor.hover {
    background: rgba(255, 255, 255, 0);
}

/* ===========================
   SPLIT LAYOUT
   =========================== */

.contact-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
}

.contact-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 120px;
    width: 100%;
    max-width: 1400px;
}

/* LEFT SIDE - FORM */
.contact-left {
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Name + Email in one row */
.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 18px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus,
.form-textarea:focus {
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

.form-textarea {
    resize: vertical;
    min-height: 180px;
}

/* RIGHT SIDE - GREETING */
.contact-right {
    display: flex;
    align-items: center;
    padding-left: 40px;
}

.greeting-text {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.01em;
}

/* ===========================
   BUTTONS
   =========================== */

.button-group {
    position: fixed;
    bottom: 60px;
    left: 80px;
    display: flex;
    gap: 20px;
    z-index: 100;
}

.btn-back,
.btn-send {
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.btn-back::after,
.btn-send::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.586);
    left: var(--x, 50%);
    top: var(--y, 50%);
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
                height 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    z-index: 0;
}

.btn-back:hover::after,
.btn-send:hover::after {
    width: 400%;
    height: 400%;
}

.btn-back:hover,
.btn-send:hover {
    transform: scale(1.02);
    border-color: transparent;
}

.btn-back span,
.btn-send span {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.btn-back:hover span,
.btn-send:hover span {
    color: #000;
}

/* Send button - filled when typing */
.btn-send.filled::after {
    width: 400% !important;
    height: 400% !important;
}

.btn-send.filled span {
    color: #000 !important;
}

.btn-send.filled {
    border-color: transparent !important;
}

/* Success/Error Messages */
.success-message,
.error-message {
    position: fixed;
    bottom: 140px;
    left: 80px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 99;
}

.success-message {
    background: rgba(52, 199, 89, 0.2);
    border: 2px solid #34C759;
    color: #34C759;
}

.error-message {
    background: rgba(255, 59, 48, 0.2);
    border: 2px solid #FF3B30;
    color: #FF3B30;
}

.success-message.show,
.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 1024px) {
    .contact-split {
        gap: 80px;
    }

    .greeting-text {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 40px;
    }

    .contact-split {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-right {
        text-align: center;
        padding-left: 0;
        order: -1;
    }

    .greeting-text {
        font-size: 40px;
    }

    .form-row-split {
        grid-template-columns: 1fr;
    }

    .button-group {
        left: 40px;
        bottom: 40px;
    }

    .success-message,
    .error-message {
        left: 40px;
    }

    #cursor {
        display: none;
    }

    * {
        cursor: auto !important;
    }
}

@media (max-width: 480px) {
    .contact-page {
        padding: 24px;
    }

    .greeting-text {
        font-size: 32px;
    }

    .form-input,
    .form-textarea {
        font-size: 16px;
    }

    .button-group {
        left: 24px;
        bottom: 24px;
    }

    .btn-back,
    .btn-send {
        padding: 12px 24px;
        font-size: 14px;
    }
}
/* RIGHT SIDE - GREETING */
.contact-right {
    display: flex;
    align-items: center;
    padding-left: 40px;
}

.greeting-text {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.01em;
    text-align: right; /* ✅ ADD THIS */
}