/* =========================================================
   Pàgina "en construcció"
   Depèn de: design-system.css
   ========================================================= */

body.under-construction {
    min-height: 100vh;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 60%, #030a2e 100%);
    position: relative;
    overflow-x: hidden;
}

body.under-construction::before {
    content: '';
    position: fixed; inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(79, 195, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(247, 181, 0, 0.10) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.wave-bg {
    position: fixed; bottom: 0; left: 0; right: 0;
    height: 40vh;
    pointer-events: none;
    z-index: 1;
}
.wave-bg svg { width: 100%; height: 100%; display: block; }

.uc-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--space-12) var(--space-5) var(--space-8);
}

/* ---------- BRAND ---------- */
.brand { text-align: center; margin-bottom: var(--space-10); animation: fadeInDown 0.8s ease both; }
.logo {
    display: inline-block;
    background: var(--color-white);
    padding: var(--space-5) var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    margin-bottom: var(--space-4);
    max-width: 100%;
}
.logo img { width: 100%; max-width: 420px; height: auto; }

/* ---------- STATUS ---------- */
.status {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-10) var(--space-8);
    text-align: center;
    margin-bottom: var(--space-8);
    animation: fadeIn 0.8s 0.2s ease both;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(247, 181, 0, 0.15);
    border: 1px solid rgba(247, 181, 0, 0.4);
    color: #ffd482;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-pill);
    font-size: var(--fs-sm);
    font-weight: 500;
    margin-bottom: var(--space-5);
}
.pulse {
    width: 8px; height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(247, 181, 0, 0.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(247, 181, 0, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(247, 181, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(247, 181, 0, 0); }
}
.lead {
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, 0.92);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: var(--lh-loose);
}

/* ---------- PROGRESS ---------- */
.progress-section { max-width: 600px; margin: 0 auto var(--space-12); animation: fadeIn 0.8s 0.4s ease both; }
.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    overflow: hidden;
    margin-bottom: var(--space-2);
}
.progress-fill {
    height: 100%; width: 35%;
    background: linear-gradient(90deg, var(--color-water) 0%, #81d4fa 100%);
    border-radius: var(--radius-pill);
    box-shadow: 0 0 12px rgba(79, 195, 247, 0.6);
    animation: progressGrow 1.5s 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes progressGrow { from { width: 0; } to { width: 35%; } }
.progress-label {
    display: flex; justify-content: space-between;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.75);
}
.progress-percent { font-weight: 600; color: var(--color-water); }

/* ---------- FEATURES ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-5);
    margin-bottom: var(--space-12);
    animation: fadeIn 0.8s 0.6s ease both;
}
.feature {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-6);
    transition: all var(--t-base);
}
.feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(247, 181, 0, 0.4);
}
.feature-icon {
    width: 44px; height: 44px;
    background: rgba(247, 181, 0, 0.18);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { color: var(--color-white); font-size: var(--fs-md); margin-bottom: var(--space-2); }
.feature p { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.75); font-weight: 300; }

/* ---------- CONTACT ---------- */
.contact-block {
    background: rgba(255, 255, 255, 0.97);
    color: var(--color-text);
    border-radius: var(--radius-xl);
    padding: var(--space-10) var(--space-8);
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.8s 0.8s ease both;
}
.contact-block h2 {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--space-6);
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-4);
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    background: var(--color-bg);
    transition: all var(--t-base);
    border: 1px solid transparent;
}
a.contact-item:hover {
    background: var(--color-bg-alt);
    border-color: rgba(11, 30, 99, 0.15);
    transform: translateX(2px);
    color: inherit;
}
.contact-icon {
    flex-shrink: 0;
    width: 38px; height: 38px;
    background: rgba(11, 30, 99, 0.08);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-text { display: flex; flex-direction: column; min-width: 0; }
.contact-label {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    font-weight: 500;
    margin-bottom: 2px;
}
.contact-value { font-size: var(--fs-sm); font-weight: 500; color: var(--color-text); word-break: break-word; }

/* ---------- FOOTER ---------- */
.uc-footer {
    text-align: center;
    padding-top: var(--space-5);
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.65);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 640px) {
    .uc-container { padding: var(--space-8) var(--space-4) var(--space-6); }
    .status, .contact-block { padding: var(--space-6) var(--space-5); }
}
