:root {
    --primary-color: #ffffff;
    --accent-color: #a48c5b; /* A sophisticated gold/bronze for law firm */
    --text-muted: rgba(255, 255, 255, 0.7);
    --bg-dark: #0a0e17;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--primary-color);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background elements */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/alcantara-alencastro-team.webp');
    background-size: cover;
    background-position: center;
    z-index: -3;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 10, 15, 0.85) 0%, rgba(2, 4, 8, 0.95) 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: -2;
}

.stars {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: twinkle linear infinite;
}

@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.2; transform: scale(0.8); }
}

/* Layout */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.content-wrapper {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

/* Logo Section */
.logo-section {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    animation: fadeRight 1.5s ease-out forwards;
}

.logo-container {
    display: flex;
    align-items: center;
}

.main-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(164, 140, 91, 0.2));
}

/* Main Content Section */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: fadeUp 1.5s ease-out 0.3s forwards;
    opacity: 0;
}

.launch-label {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Countdown */
.countdown-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 2;
}

.countdown .separator {
    font-size: 3rem;
    font-weight: 300;
    color: var(--accent-color);
    margin-top: 20px;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    min-width: 70px;
}

.time-block .number {
    font-size: 4.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
    letter-spacing: 3px;
    color: var(--primary-color);
    text-shadow: 0 0 30px rgba(164, 140, 91, 0.3);
}

.time-block .label {
    font-size: 0.75rem;
    letter-spacing: 5px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 400;
}

@media (max-width: 768px) {
    .time-block .label {
        font-size: 0.55rem;
        letter-spacing: 2px;
    }
}

/* Seconds with animated ring */
.time-block.highlight {
    position: relative;
    padding-top: 15px;
    min-width: 90px;
}

.time-block.highlight .number {
    color: var(--accent-color);
    text-shadow: 0 0 40px rgba(164, 140, 91, 0.6);
    animation: pulse-gold 2s ease-in-out infinite;
}

@keyframes pulse-gold {
    0%, 100% { text-shadow: 0 0 30px rgba(164, 140, 91, 0.4); }
    50% { text-shadow: 0 0 50px rgba(164, 140, 91, 0.8); }
}

/* Animated ring around seconds */
.seconds-ring {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px solid rgba(164, 140, 91, 0.2);
    border-top-color: var(--accent-color);
    animation: spin 3s linear infinite;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.seconds-ring::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 1px solid rgba(164, 140, 91, 0.1);
    border-top-color: rgba(164, 140, 91, 0.4);
    animation: spin-reverse 2s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spin-reverse {
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* Progress bar under countdown */
.countdown-progress {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 3px;
    background: rgba(164, 140, 91, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.countdown-progress .bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg,
        rgba(164, 140, 91, 0.3) 0%,
        var(--accent-color) 50%,
        rgba(164, 140, 91, 0.3) 100%);
    border-radius: 3px;
    transition: width 1s linear;
    box-shadow: 0 0 10px rgba(164, 140, 91, 0.5);
}

/* Welcome Box */
.welcome-box {
    margin-bottom: 40px;
}

.welcome-box h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 400;
    color: var(--accent-color);
}

.welcome-box p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.1rem;
    max-width: 500px;
    font-weight: 300;
}

/* Footer Links */
.footer-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding-top: 20px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--accent-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeRight {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 20px;
    }

    .content-wrapper {
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        text-align: center;
    }
    
    .logo-section {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .main-logo {
        max-width: 280px;
    }
    
    .main-content {
        align-items: center;
        width: 100%;
    }
    
    .countdown-wrapper {
        justify-content: center;
    }
    
    .footer-links {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .countdown {
        gap: 8px;
    }
    
    .time-block .number {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .countdown .separator {
        font-size: 1rem;
        margin-top: 5px;
    }

    .seconds-ring {
        width: 75px;
        height: 75px;
    }
    
    .welcome-box h2 {
        font-size: 1.8rem;
    }

    .welcome-box p {
        font-size: 1rem;
    }
}
