/* ================================================
   ClusterClups Lead Form — WordPress CSS (Box Only)
   No cookie banner styles (moved to header snippet)
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700&display=swap');

:root {
    --cc-deep-blue: #0e2349;
    --cc-orchid: #d476d3;
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

/* --- Glass Panel Box --- */
.cc-glass-panel {
    font-family: var(--font-sans);
    color: #fff;
    box-sizing: border-box;
    background: rgba(14, 35, 73, 0.45);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 118, 211, 0.3);
    box-shadow:
        0 0 30px rgba(212, 118, 211, 0.15),
        0 0 60px rgba(212, 118, 211, 0.08),
        inset 0 0 30px rgba(212, 118, 211, 0.05);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 420px;
}

.cc-glass-panel *, .cc-glass-panel *::before, .cc-glass-panel *::after {
    box-sizing: border-box; margin: 0; padding: 0;
}

/* --- Form Header --- */
.cc-form-header { text-align: center; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 24px; }
.cc-form-header h2 { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: #fff; margin-bottom: 8px; }
.cc-form-header p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.4; max-width: 320px; margin: 0 auto; }

/* --- Form Layout --- */
.cc-form { display: flex; flex-direction: column; gap: 12px; }
.cc-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* --- Inputs --- */
.cc-input, .cc-textarea {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: #fff; border-radius: 8px; padding: 12px; width: 100%;
    font-family: var(--font-sans); font-size: 0.9rem; outline: none; transition: all 0.3s ease;
}
.cc-input::placeholder, .cc-textarea::placeholder { color: rgba(255,255,255,0.5); }
.cc-input:focus, .cc-textarea:focus { border-color: var(--cc-orchid); background: rgba(255,255,255,0.15); }
.cc-textarea { height: 80px; resize: none; }

/* --- Privacy Checkbox --- */
.cc-privacy { display: flex; align-items: flex-start; gap: 12px; margin: 8px 0 16px; }
.cc-checkbox-wrap { position: relative; display: flex; align-items: center; flex-shrink: 0; }
.cc-checkbox { height: 20px; width: 20px; cursor: pointer; appearance: none; -webkit-appearance: none; border-radius: 4px; border: 1px solid #6b7280; background: transparent; transition: all 0.2s; }
.cc-checkbox:checked { background: var(--cc-orchid); border-color: var(--cc-orchid); }
.cc-checkmark { position: absolute; left: 4px; top: 4px; width: 12px; height: 12px; opacity: 0; pointer-events: none; color: #fff; transition: opacity 0.2s; }
.cc-checkbox:checked + .cc-checkmark { opacity: 1; }
.cc-privacy label { font-size: 0.75rem; color: rgba(255,255,255,0.55); cursor: pointer; user-select: none; line-height: 1.4; }
.cc-privacy label a { color: var(--cc-orchid); text-decoration: underline; }

/* --- Submit Button --- */
.cc-submit {
    width: 100%; padding: 16px; font-weight: 700; border-radius: 12px; transition: all 0.3s;
    text-transform: uppercase; letter-spacing: 0.05em; display: flex; align-items: center;
    justify-content: center; gap: 8px; cursor: pointer; border: none;
    font-family: var(--font-sans); font-size: 0.95rem;
}
.cc-submit.cc-locked { background: #4b5563; color: #d1d5db; cursor: not-allowed; }
.cc-submit.cc-ready { background: var(--cc-orchid); color: #fff; box-shadow: 0 0 20px rgba(212,118,211,0.5); }
.cc-submit.cc-ready:hover { background: #fff; color: var(--cc-deep-blue); transform: scale(1.02); }

/* --- Error --- */
.cc-error { color: #f87171; font-size: 0.75rem; text-align: center; margin-top: 8px; animation: cc-pulse 1.5s infinite; }

/* --- Success Panel --- */
.cc-success { text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 48px 24px; animation: cc-slide-in-up 0.6s cubic-bezier(0.25,1,0.5,1) forwards; }
.cc-success-icon { width: 80px; height: 80px; background: rgba(34,197,94,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; border: 1px solid #22c55e; box-shadow: 0 0 20px rgba(34,197,94,0.3); }
.cc-success-icon svg { width: 40px; height: 40px; color: #4ade80; }
.cc-success h2 { font-family: var(--font-heading); font-weight: 700; font-size: 1.875rem; color: #fff; margin-bottom: 16px; }
.cc-success p { color: rgba(255,255,255,0.6); font-size: 1.125rem; margin-bottom: 32px; line-height: 1.6; max-width: 320px; }
.cc-visit-btn { display: block; width: 100%; padding: 16px; background: var(--cc-orchid); color: #fff; font-weight: 700; border-radius: 12px; text-align: center; text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; transition: all 0.3s; box-shadow: 0 0 20px rgba(212,118,211,0.4); }
.cc-visit-btn:hover { background: #fff; color: var(--cc-deep-blue); transform: scale(1.02); }

/* --- Animations --- */
.cc-fade-in { opacity: 0; animation: cc-fade-in 0.2s ease-out forwards; }
@keyframes cc-slide-in-up { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cc-fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.cc-submitting { animation: cc-pulse 1.5s infinite; }
