:root {
    --primary-color: #1a1a1a;
    --accent-color: #ed1b24; /* Red accent */
    --text-color: #333333;
    --bg-light: #f9f9f9;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background with glassmorphism effect */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/bg-hero.png') no-repeat center center;
    background-size: cover;
    filter: brightness(0.9) contrast(1.1);
    z-index: -1;
}

.background-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.container {
    max-width: 900px;
    width: 90%;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.5);
    margin: 2rem auto;
}

header {
    margin-bottom: 2rem;
}

.logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 1rem;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.message {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    text-align: left;
}

.message p {
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.message strong {
    font-weight: 600;
    color: var(--accent-color);
}

.thank-you {
    margin-top: 2rem;
    font-style: italic;
    font-weight: 500;
    color: var(--accent-color);
    font-size: 1.25rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
}

.signature {
    margin-top: 2rem;
    text-align: right;
    font-family: 'Playfair Display', serif;
}

.signature p {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.signature strong {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(237, 27, 36, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(26, 26, 26, 0.05);
    transform: translateY(-3px);
}

footer {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: #888;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    color: var(--accent-color);
}

/* Animations */
.fade-in {
    animation: fadeIn 1.2s ease-out forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.5s forwards;
}

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

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .container {
        padding: 2rem 1.5rem;
    }
    
    h1 {
        font-size: 1.7rem;
        line-height: 1.2;
    }
    
    .message {
        font-size: 1rem;
    }
    
    .actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
}
