* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #faf8f5;
    transition: background-color 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}        

body.dark-mode {
    background: #0a0a0a;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    backdrop-filter: blur(20px);
    background: rgba(250, 248, 245, 0.95);
    border-bottom: 1px solid rgba(212, 163, 85, 0.15);
    z-index: 2000;
    transition: all 0.3s ease;
}

body.dark-mode header {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(212, 163, 85, 0.2);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: rotate(180deg);
}

.header-brand {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.15rem;
    background: linear-gradient(135deg, #c49350 0%, #d4a355 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-mode .header-brand {
    background: linear-gradient(135deg, #d4a355 0%, #f4d799 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Theme Toggle */
.theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(212, 163, 85, 0.1);
    border: 1px solid rgba(212, 163, 85, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.theme-toggle:hover {
    background: rgba(212, 163, 85, 0.2);
    transform: rotate(15deg);
}

.sun-icon,
.moon-icon {
    position: absolute;
    transition: all 0.3s ease;
    color: #c49350;
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

body.dark-mode .sun-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

body.dark-mode .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    color: #f4d799;
}

/* Language selector */
.lang-selector {
    display: flex;
    gap: 0.5rem;
    padding: 0.4rem;
    background: rgba(212, 163, 85, 0.08);
    border: 1px solid rgba(212, 163, 85, 0.2);
    border-radius: 50px;
}

.lang-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-radius: 50px;
    color: rgba(42, 42, 42, 0.5);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.dark-mode .lang-btn {
    color: rgba(255, 255, 255, 0.5);
}

.lang-btn:hover,
.lang-btn.active {
    background: linear-gradient(135deg, #c49350 0%, #d4a355 100%);
    color: #fff;
    border-color: transparent;
}

/* Section Container */
section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 80px);
}

.landing-container {
    display: flex;
    flex: 1;
    position: relative;
    padding-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Divisão Vertical */
.divider {
    position: absolute;
    left: 50%;
    top: 80px;
    width: 2px;
    height: calc(100% - 80px);
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(212, 163, 85, 0.5) 20%,
        rgba(212, 163, 85, 0.8) 50%,
        rgba(212, 163, 85, 0.5) 80%,
        transparent
    );
    z-index: 50;
    box-shadow: 0 0 20px rgba(212, 163, 85, 0.5);
}

/* Lado Esquerdo - Apicultura */
.side {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-left {
    background: linear-gradient(135deg, rgba(212, 163, 85, 0.1) 0%, rgba(196, 147, 80, 0.05) 100%);
}

body.dark-mode .side-left {
    background: linear-gradient(135deg, rgba(212, 163, 85, 0.15) 0%, rgba(196, 147, 80, 0.08) 100%);
}

.side-right {
    background: linear-gradient(135deg, rgba(139, 111, 71, 0.1) 0%, rgba(101, 85, 60, 0.05) 100%);
}

body.dark-mode .side-right {
    background: linear-gradient(135deg, rgba(139, 111, 71, 0.15) 0%, rgba(101, 85, 60, 0.08) 100%);
}

.side:hover {
    flex: 1.1;
}

.side:hover .side-content {
    transform: scale(1.05);
}

.side:hover .side-overlay {
    opacity: 0.3;
}

.side-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease;
    z-index: 1;
}

body.dark-mode .side-overlay {
    background: rgba(0, 0, 0, 0.3);
}

/* Background patterns */
.side-left::before {
    content: '🐝';
    position: absolute;
    font-size: 20rem;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.side-right::before {
    content: '🏡';
    position: absolute;
    font-size: 20rem;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.side-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    transition: transform 0.5s ease;
}

.side-icon {
    font-size: 6rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.side-left .side-icon {
    animation-delay: 0s;
}

.side-right .side-icon {
    animation-delay: 1.5s;
}

.side-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #8b6f47;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.1rem;
}

body.dark-mode .side-title {
    color: #d4a355;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.side-description {
    font-size: 1.3rem;
    color: rgba(42, 42, 42, 0.8);
    text-align: center;
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.dark-mode .side-description {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.side-button {
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #c49350 0%, #d4a355 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 163, 85, 0.3);
    text-decoration: none;
    display: inline-block;
}

.side-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 163, 85, 0.5);
}

/* Footer */
footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(139, 111, 71, 0.15);
    background: #faf8f5;
    margin-top: auto;
}

body.dark-mode footer {
    background: rgba(10, 10, 10, 0.8);
    border-top: 1px solid rgba(139, 111, 71, 0.2);
}

.footer-links {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-links a {
    color: #8b6f47;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 1rem;
}

.footer-links a:hover {
    color: #c49350;
}

body.dark-mode .footer-links a {
    color: #d4a355;
}

body.dark-mode .footer-links a:hover {
    color: #f4d799;
}

footer p {
    color: rgba(42, 42, 42, 0.6);
    margin-bottom: 0.5rem;
}

body.dark-mode footer p {
    color: rgba(255, 255, 255, 0.5);
}

.footer-credit {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 111, 71, 0.1);
    font-size: 0.9rem;
    color: rgba(42, 42, 42, 0.5);
}

body.dark-mode .footer-credit {
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(139, 111, 71, 0.2);
}

.bitbean-link {
    color: #8b6f47;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.bitbean-link:hover {
    color: #c49350;
}

body.dark-mode .bitbean-link {
    color: #d4a355;
}

body.dark-mode .bitbean-link:hover {
    color: #f4d799;
}

.bitbean-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #8b6f47 0%, #c49350 100%);
    transition: width 0.3s ease;
}

.bitbean-link:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 968px) {
    .landing-container {
        flex-direction: column;
        padding-top: 70px;
    }
    
    .divider {
        left: 0;
        top: 50%;
        width: 100%;
        height: 2px;
        transform: translateY(-50%);
    }
    
    .side {
        min-height: 50vh;
    }
    
    .side:hover {
        flex: 1.05;
    }
    
    .side-title {
        font-size: 2.5rem;
    }
    
    .side-description {
        font-size: 1.1rem;
        max-width: 400px;
    }
    
    .side-content {
        padding: 3rem 2rem;
    }
    
    .header-container {
        padding: 0 1.5rem;
    }
    
    .header-brand {
        font-size: 1.4rem;
        letter-spacing: 0.1rem;
    }
    
    .header-logo {
        width: 40px;
        height: 40px;
    }
    
    .side-button {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .landing-container {
        padding-top: 60px;
    }
    
    .side::before {
        font-size: 12rem;
    }
    
    .side-icon {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }
    
    .side-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .side-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .side-content {
        padding: 2rem 1.5rem;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .header-brand {
        font-size: 1.2rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .footer-links {
        font-size: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links span {
        display: none;
    }
    
    footer {
        padding: 2rem 1rem;
    }
    
    footer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header-logo {
        width: 35px;
        height: 35px;
    }
    
    .header-brand {
        font-size: 1rem;
    }
    
    .header-right {
        gap: 1rem;
    }
    
    .side-icon {
        font-size: 3rem;
    }
    
    .side-title {
        font-size: 1.75rem;
    }
    
    .side-description {
        font-size: 0.95rem;
    }
    
    .side-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .side::before {
        font-size: 8rem;
    }
}