/**
 * CGUC - Landing Page Styles
 * Premium Design Standard - Cámara Ganadera Unidos del Caribe
 */

:root {
    --primary: #4C7531;
    --primary-dark: #3a5a26;
    --accent: #D4AF37;
    --ink: #0F172A;
    --slate: #64748B;
    --cream: #F8FAF5;
    --glass: rgba(255, 255, 255, 0.9);
}

/* --- Global resets and typography --- */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--ink);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
}

* {
    box-sizing: border-box;
}

/* --- Header / Navigation --- */
header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.nav-btn {
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-btn-login {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.nav-btn-login:hover {
    background: white;
    color: var(--ink);
}

.nav-btn-register {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.nav-btn-register:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(13, 24, 10, 0.9) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0.1) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    color: white;
    animation: fadeInUp 1s ease-out;
}

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

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-title span {
    color: var(--accent);
    font-style: italic;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 550px;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-main {
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: #1a1a1a;
    border: none;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #e5c05b 0%, #d4af37 100%);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.mouse::after {
    content: "";
    width: 4px;
    height: 8px;
    background: var(--accent);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* --- Features Section --- */
.features {
    padding: 100px 5%;
    background: white;
    margin-top: -80px;
    border-radius: 60px 60px 0 0;
    position: relative;
    z-index: 20;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 70px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--ink);
}

.section-header p {
    color: var(--slate);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
    border-color: var(--accent);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: rotate(-5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: var(--slate);
    font-size: 0.95rem;
}

/* --- Footer --- */
footer {
    padding: 60px 5%;
    background: #0F172A;
    color: white;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    header { padding: 20px 5%; }
    .hero-title { font-size: 2.8rem; }
    .hero-btns { flex-direction: column; }
    .btn-main { width: 100%; justify-content: center; }
    .nav-actions { display: none; }
}
