/* Premium Under Construction Pro - Base Front End CSS */

:root {
    --pucp-primary: #3b82f6;
    --pucp-primary-hover: #2563eb;
    --pucp-bg-color-1: #0f172a;
    --pucp-bg-color-2: #1e1b4b;
    --pucp-text-color: #f8fafc;
    --pucp-text-muted: #94a3b8;
    --pucp-card-bg: rgba(255, 255, 255, 0.03);
    --pucp-card-border: rgba(255, 255, 255, 0.08);
    --pucp-border-radius: 12px;
    --pucp-font-family: 'Inter', sans-serif;
    --pucp-gradient-angle: 135deg;
}

/* Reset and Core Layout */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.pucp-body {
    font-family: var(--pucp-font-family);
    background: var(--pucp-bg-color-1);
    color: var(--pucp-text-color);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Base wrapper to cover full viewport */
.pucp-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 2rem;
    z-index: 10;
}

/* Background gradient overlays & shapes */
.pucp-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(var(--pucp-gradient-angle), var(--pucp-bg-color-1), var(--pucp-bg-color-2));
    z-index: 1;
}

.pucp-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 2;
}

.pucp-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    z-index: 2;
}

/* Canvas Particles */
#pucp-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* Decorative Blur Blobs */
.pucp-blur-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.pucp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: floatBlob 20s infinite alternate ease-in-out;
}

.pucp-blob-1 {
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--pucp-primary);
}

.pucp-blob-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--pucp-primary-hover);
    animation-delay: -5s;
}

/* Container limits */
.pucp-container {
    max-width: 800px;
    width: 100%;
    margin: auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Logo */
.pucp-logo-wrap {
    margin-bottom: 2.5rem;
}

.pucp-logo {
    max-height: 80px;
    max-width: 250px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

/* Hero Content */
.pucp-hero {
    margin-bottom: 3.5rem;
}

.pucp-headline {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pucp-subheadline {
    font-size: 1.2rem;
    color: var(--pucp-text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Countdown Section */
.pucp-countdown-section {
    margin-bottom: 3.5rem;
}

.pucp-countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.pucp-countdown-item {
    background: var(--pucp-card-bg);
    border: 1px solid var(--pucp-card-border);
    border-radius: var(--pucp-border-radius);
    padding: 1.5rem 1rem;
    min-width: 110px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.pucp-countdown-item:hover {
    transform: translateY(-5px);
}

.pucp-countdown-number {
    font-size: 2.8rem;
    font-weight: 750;
    line-height: 1;
    margin-bottom: 0.4rem;
    color: var(--pucp-primary);
}

.pucp-countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pucp-text-muted);
    font-weight: 600;
}

/* Subscription Form Section */
.pucp-lead-section {
    margin-bottom: 3.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pucp-form-group {
    display: flex;
    gap: 0.5rem;
    background: var(--pucp-card-bg);
    border: 1px solid var(--pucp-card-border);
    padding: 0.4rem;
    border-radius: 9999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pucp-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--pucp-text-color);
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
}

.pucp-input::placeholder {
    color: var(--pucp-text-muted);
}

.pucp-btn {
    background: var(--pucp-primary);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.pucp-btn:hover {
    background: var(--pucp-primary-hover);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.pucp-form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.pucp-form-message.success {
    color: #10b981;
}

.pucp-form-message.error {
    color: #ef4444;
}

/* Contact Info Section */
.pucp-contact-section {
    margin-bottom: 3.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    font-size: 0.95rem;
}

.pucp-contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--pucp-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pucp-contact-item:hover {
    color: var(--pucp-text-color);
}

.pucp-contact-item i {
    color: var(--pucp-primary);
}

/* Map Embed styling */
.pucp-map-wrap {
    margin-top: 2rem;
    border-radius: var(--pucp-border-radius);
    overflow: hidden;
    border: 1px solid var(--pucp-card-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.pucp-map-wrap iframe {
    display: block;
    width: 100%;
    border: none;
}

/* Social Media Section */
.pucp-socials {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.pucp-social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: var(--pucp-card-bg);
    border: 1px solid var(--pucp-card-border);
    color: var(--pucp-text-muted);
    border-radius: 50%;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pucp-social-link:hover {
    color: var(--pucp-text-color);
    background: var(--pucp-primary);
    border-color: var(--pucp-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Password Wall Overlay screen */
.pucp-password-wall-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--pucp-card-bg);
    border: 1px solid var(--pucp-card-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--pucp-text-muted);
    cursor: pointer;
    z-index: 99;
    transition: all 0.3s ease;
}

.pucp-password-wall-btn:hover {
    color: var(--pucp-text-color);
    background: rgba(255, 255, 255, 0.1);
}

.pucp-password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pucp-password-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.pucp-password-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--pucp-border-radius);
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.pucp-password-overlay.active .pucp-password-card {
    transform: translateY(0);
}

.pucp-pwd-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.pucp-pwd-text {
    font-size: 0.9rem;
    color: var(--pucp-text-muted);
    margin-bottom: 1.5rem;
}

.pucp-pwd-form .pucp-form-group {
    border-radius: var(--pucp-border-radius);
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 1rem;
}

.pucp-pwd-form .pucp-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--pucp-border-radius);
    padding: 0.9rem 1.2rem;
    text-align: center;
}

.pucp-pwd-form .pucp-btn {
    border-radius: var(--pucp-border-radius);
    width: 100%;
}

.pucp-pwd-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--pucp-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pucp-pwd-close:hover {
    color: var(--pucp-text-color);
}

/* Animations */
@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10%, 15%) scale(1.1); }
    100% { transform: translate(-10%, -5%) scale(0.9); }
}

/* Text Animations */
.pucp-animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pucp-animate-fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Footer info */
.pucp-footer {
    position: relative;
    z-index: 10;
    color: var(--pucp-text-muted);
    font-size: 0.85rem;
    margin-top: auto;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pucp-headline {
        font-size: 2.3rem;
    }
    .pucp-countdown-number {
        font-size: 2.2rem;
    }
    .pucp-countdown-item {
        min-width: 90px;
        padding: 1.2rem 0.8rem;
    }
    .pucp-form-group {
        flex-direction: column;
        border-radius: var(--pucp-border-radius);
        background: transparent;
        border: none;
        padding: 0;
        gap: 0.8rem;
    }
    .pucp-input {
        background: var(--pucp-card-bg);
        border: 1px solid var(--pucp-card-border);
        border-radius: var(--pucp-border-radius);
        padding: 0.9rem 1.2rem;
    }
    .pucp-btn {
        border-radius: var(--pucp-border-radius);
        width: 100%;
        padding: 0.9rem;
    }
    .pucp-contact-section {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}
