/* ----- base – warm cream, european elegance with animated bg ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', 'Georgia', 'Times New Roman', serif;
    background: #f6f1eb;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(210, 195, 180, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(190, 175, 160, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(200, 180, 200, 0.05) 0%, transparent 40%);
    animation: fadeInBg 1.2s ease-out;
}

@keyframes fadeInBg {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* ----- floating orbs ----- */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.20;
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 18s infinite alternate ease-in-out;
}
.orb-1 {
    width: 350px;
    height: 350px;
    background: #d4c8bc;
    top: -100px;
    right: -60px;
    animation-delay: 0s;
}
.orb-2 {
    width: 300px;
    height: 300px;
    background: #c9b8a8;
    bottom: -80px;
    left: -80px;
    animation-delay: -6s;
}
.orb-3 {
    width: 200px;
    height: 200px;
    background: #e8ddd0;
    top: 40%;
    left: 50%;
    animation-delay: -12s;
    opacity: 0.12;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.15); }
}

/* ----- subtle texture overlay ----- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(200, 185, 170, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 185, 170, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* ----- NAVBAR – elegant dark ----- */
.navbar-custom {
    background: #2c241e;
    padding: 0.8rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.navbar-custom .navbar-brand {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #f4efe8, #d4c8bc, #f4efe8);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmerGrad 4s ease-in-out infinite alternate;
    font-style: italic;
    text-transform: uppercase;
}

@keyframes shimmerGrad {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.navbar-custom .navbar-brand i {
    color: #d4c8bc;
    margin-right: 8px;
    font-size: 1.4rem;
}

.navbar-custom .nav-link {
    color: rgba(212, 200, 188, 0.7);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.navbar-custom .nav-link:hover {
    color: #f4efe8;
    transform: translateY(-1px);
}

.navbar-custom .nav-link i {
    margin-right: 4px;
}

.btn-nav-login {
    background: transparent;
    color: #d4c8bc;
    border: 1.5px solid rgba(212, 200, 188, 0.3);
    padding: 0.4rem 1.4rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-nav-login:hover {
    background: rgba(212, 200, 188, 0.08);
    color: #f4efe8;
    border-color: #d4c8bc;
    transform: translateY(-2px);
}

.btn-nav-register {
    background: linear-gradient(135deg, #d4c8bc, #c9b8a8);
    color: #2c241e;
    padding: 0.4rem 1.4rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.btn-nav-register:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 20px rgba(212, 200, 188, 0.3);
    color: #1f1814;
}

/* ----- HERO SECTION ----- */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 1;
    min-height: 80vh;
}

.hero-card {
    max-width: 800px;
    width: 100%;
    background: rgba(252, 249, 245, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.04),
        0 2px 20px rgba(0, 0, 0, 0.02),
        0 0 0 1px rgba(190, 175, 160, 0.10);
    animation: cardFadeIn 1s ease-out;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes cardFadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 26px;
    background: conic-gradient(from 0deg, #d4c8bc, #c9b8a8, #e8ddd0, #d4c8bc);
    opacity: 0.10;
    z-index: -1;
    animation: spinGlow 8s linear infinite;
    filter: blur(4px);
}

@keyframes spinGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-icon {
    font-size: 4rem;
    color: #d4c8bc;
    animation: iconFloat 3s ease-in-out infinite;
    margin-bottom: 0.5rem;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(3deg); }
    75% { transform: translateY(4px) rotate(-2deg); }
}

.hero-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #2c241e, #4a3f38, #2c241e);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmerGrad 4s ease-in-out infinite alternate;
    text-transform: uppercase;
    font-style: italic;
}

.hero-subtitle {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    color: #6a5a4a;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.hero-description {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: #8a7a6a;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 550px;
    margin: 1rem auto 2rem;
    letter-spacing: 0.3px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: #2c241e;
    color: #f4efe8;
    padding: 0.8rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    font-size: 0.95rem;
    box-shadow: 0 4px 16px rgba(44, 36, 30, 0.10);
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px rgba(44, 36, 30, 0.18);
    background: #1f1814;
    color: #fff;
}

.btn-hero-primary i {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover i {
    transform: translateX(4px);
}

.btn-hero-secondary {
    background: transparent;
    color: #2c241e;
    padding: 0.8rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #ddd2c8;
    font-size: 0.95rem;
}

.btn-hero-secondary:hover {
    transform: translateY(-3px);
    border-color: #2c241e;
    background: rgba(44, 36, 30, 0.02);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.btn-hero-secondary i {
    transition: transform 0.3s ease;
}

.btn-hero-secondary:hover i {
    transform: rotate(-5deg) scale(1.1);
}

/* Features Section */
.features-section {
    padding: 2rem 1.5rem 4rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(252, 249, 245, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(190, 175, 160, 0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    animation: slideUp 0.8s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    border-color: rgba(190, 175, 160, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: #8a7a6a;
    margin-bottom: 1rem;
}

.feature-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #2c241e;
    margin-bottom: 0.5rem;
}

.feature-text {
    color: #8a7a6a;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer */
.footer-custom {
    background: #2c241e;
    color: rgba(212, 200, 188, 0.6);
    padding: 1.5rem 0;
    text-align: center;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(212, 200, 188, 0.05);
}

.footer-custom a {
    color: #d4c8bc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-custom a:hover {
    color: #f4efe8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-card {
        padding: 2rem 1.5rem;
    }
    .hero-description {
        font-size: 0.95rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    .navbar-custom .navbar-brand {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-card {
        padding: 1.5rem 1rem;
    }
    .hero-icon {
        font-size: 3rem;
    }
}