/* ============================================================
   SUPPORT SECTION — Dark, chat mockup, premium 2026
   ============================================================ */

.support-section {
    position: relative;
    width: 100%;
    background: var(--ink);
    padding: 9rem 0;
    overflow: hidden;
}

/* ── Background grid ────────────────────────────────────── */
.support-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

/* ── Ambient glows ──────────────────────────────────────── */
.support-glow-1 {
    position: absolute;
    top: -10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 65%);
    pointer-events: none;
    border-radius: 50%;
}

.support-glow-2 {
    position: absolute;
    bottom: -15%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, transparent 65%);
    pointer-events: none;
    border-radius: 50%;
}

/* ── Container ──────────────────────────────────────────── */
.support-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ============================================================
   CONTENT SIDE
   ============================================================ */

.support-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    background: rgba(255, 204, 0, 0.10);
    border: 1px solid rgba(255, 204, 0, 0.22);
    padding: 0.38rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.75rem;
}

.support-title {
    font-size: clamp(2.6rem, 4.5vw, 3.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 2rem;
}

.support-body {
    margin-bottom: 2.25rem;
}

.support-body p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.78;
    margin: 0 0 1rem;
}

.support-body p:last-child { margin-bottom: 0; }

/* ── Feature list ───────────────────────────────────────── */
.support-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.support-feature {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
}

.support-feature svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ── CTA ────────────────────────────────────────────────── */
.support-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--gold);
    color: #000;
    padding: 1rem 2.25rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    transition: background 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
    box-shadow: 0 4px 30px rgba(255, 204, 0, 0.32);
}

.support-cta i { font-size: 1.25rem; }

.support-cta:hover {
    background: var(--gold-dark, #e6b800);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 204, 0, 0.48);
}

/* ============================================================
   CHAT MOCKUP
   ============================================================ */

.support-chat {
    display: flex;
    justify-content: center;
    align-items: center;
}

.support-chat__phone {
    width: 100%;
    max-width: 400px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 40px 80px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(37, 211, 102, 0.06);
}

/* ── Chat header ────────────────────────────────────────── */
.support-chat__header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.1rem 1.25rem;
    background: #1a2332;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.support-chat__back {
    color: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
    display: flex;
}

.support-chat__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F46E5, #818CF8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
    flex-shrink: 0;
}

.support-chat__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.support-chat__name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.support-chat__status {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.38);
}

.support-chat__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #25D366;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(37, 211, 102, 0.7);
    animation: support-pulse 2.5s ease-in-out infinite;
}

@keyframes support-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

.support-chat__actions {
    color: #25D366;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ── Chat body ──────────────────────────────────────────── */
.support-chat__body {
    padding: 1.25rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 300px;
    background: #0d1117;
    background-image: radial-gradient(rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 20px 20px;
}

.support-chat__date {
    text-align: center;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.22);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

/* ── Messages ───────────────────────────────────────────── */
.support-msg {
    display: flex;
    flex-direction: column;
    max-width: 78%;
    gap: 0.2rem;
}

.support-msg p {
    margin: 0;
    padding: 0.7rem 0.95rem;
    border-radius: 18px;
    font-size: 0.83rem;
    line-height: 1.5;
    word-break: break-word;
}

.support-msg time {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.04em;
}

/* Incoming (left) */
.support-msg--in {
    align-self: flex-start;
    align-items: flex-start;
}

.support-msg--in p {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.82);
    border-bottom-left-radius: 6px;
}

/* Outgoing (right) */
.support-msg--out {
    align-self: flex-end;
    align-items: flex-end;
}

.support-msg--out p {
    background: rgba(79, 70, 229, 0.30);
    color: rgba(255, 255, 255, 0.88);
    border-bottom-right-radius: 6px;
    border: 1px solid rgba(79, 70, 229, 0.40);
}

/* Done message — gold accent */
.support-msg--done p {
    background: rgba(255, 204, 0, 0.14);
    border-color: rgba(255, 204, 0, 0.30);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

/* ── Message entrance animations ───────────────────────── */
.support-msg--anim-1 { opacity: 0; animation: msg-in 0.4s ease-out 0.7s  forwards; }
.support-msg--anim-2 { opacity: 0; animation: msg-in 0.4s ease-out 0.95s forwards; }
.support-msg--anim-3 { opacity: 0; animation: msg-in 0.4s ease-out 1.20s forwards; }
.support-msg--anim-4 { opacity: 0; animation: msg-in 0.4s ease-out 1.45s forwards; }
.support-msg--anim-5 { opacity: 0; animation: msg-in 0.4s ease-out 1.70s forwards; }

@keyframes msg-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Chat footer / input ────────────────────────────────── */
.support-chat__footer {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1.1rem;
    background: #1a2332;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.support-chat__input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.22);
    pointer-events: none;
    user-select: none;
}

.support-chat__send {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

/* ============================================================
   SECTION ENTRANCE ANIMATIONS
   ============================================================ */

.support-content {
    opacity: 0;
    transform: translateX(-28px);
    animation: support-left 0.6s ease-out 0.1s forwards;
}

.support-chat {
    opacity: 0;
    transform: translateX(28px);
    animation: support-right 0.6s ease-out 0.25s forwards;
}

@keyframes support-left {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes support-right {
    to { opacity: 1; transform: translateX(0); }
}

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

@media (max-width: 1024px) {
    .support-section { padding: 7rem 0; }
    .support-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 0 2rem;
    }
    .support-chat { order: -1; }
    .support-chat__phone { max-width: 420px; }
}

@media (max-width: 640px) {
    .support-section { padding: 5.5rem 0; }
    .support-container { padding: 0 1.25rem; gap: 3rem; }
    .support-title { font-size: 2.4rem; }
    .support-chat__phone { border-radius: 20px; }
    .support-cta { width: 100%; justify-content: center; }
}

@media (min-width: 1400px) {
    .support-container { max-width: 1380px; padding: 0 3rem; gap: 7rem; }
    .support-chat__phone { max-width: 440px; }
}

@media (prefers-reduced-motion: reduce) {
    .support-content,
    .support-chat,
    .support-msg { animation: none; opacity: 1; transform: none; }
    .support-chat__dot { animation: none; }
    .support-cta { transition: none; }
}
