@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #AA6C39;
    --primary-light: #C08C5D;
    --primary-dark: #8D562B;
    --background: #F0EEE9;
    --text-main: #2D2A26;
    --text-muted: #6B665F;
    --white: #FFFFFF;
    --gold: #D4AF37;
    --gold-light: #F9F0D1;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(170, 108, 57, 0.2);
}

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

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.lang-switch {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
}

.lang-switch span {
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    transition: var(--transition);
}

.lang-switch span.active {
    color: var(--primary);
}

.lang-switch span:hover:not(.active) {
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    padding: 12rem 0 8rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Features */
.features {
    padding: 8rem 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    padding: 3rem 2.5rem;
    border-radius: 30px;
    background: var(--background);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: var(--card-shadow);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Pro Section */
.pro {
    padding: 8rem 0;
    background: var(--background);
}

.pro-card {
    background: var(--white);
    border-radius: 40px;
    padding: 4rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    border: 2px solid var(--gold);
    position: relative;
    overflow: hidden;
}

.pro-card::before {
    content: 'PRO';
    position: absolute;
    top: 2rem;
    right: -2rem;
    background: var(--gold);
    color: var(--white);
    padding: 0.5rem 4rem;
    transform: rotate(45deg);
    font-weight: 900;
    letter-spacing: 2px;
}

.pro-info {
    flex: 1;
}

.pro-image {
    flex: 1;
}

.pro-image img {
    width: 100%;
    border-radius: 20px;
}

.pro h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.pro-list {
    margin: 2rem 0;
}

.pro-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pro-list li::before {
    content: '✦';
    color: var(--gold);
    font-size: 1.5rem;
}

/* Community */
.community {
    padding: 8rem 0;
}

.community-grid {
    column-count: 2;
    column-gap: 2rem;
}

.community-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.community-item img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.community-item:hover img {
    transform: scale(1.05);
}

.community-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.community-item:hover .community-overlay {
    opacity: 1;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 6rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-text {
    opacity: 0.8;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links ul li:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    opacity: 0.6;
    font-size: 0.9rem;
}

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

.reveal {
    animation: fadeInUp 1s ease forwards;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 3rem;
    border-radius: 40px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
    animation: fadeInUp 0.5s ease;
}

.close-modal {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
}

.modal-text {
    margin-top: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    white-space: pre-wrap;
    font-size: 1.1rem;
    color: var(--text-main);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }
    .hero-btns {
        justify-content: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .pro-card {
        flex-direction: column;
        padding: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
