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

:root {
    --wine-dark: #2c1810;
    --wine-medium: #4a2c2a;
    --wine-light: #6b4423;
    --gold: #daa520;
    --gold-light: #f4e4c1;
    --cream: #f4f1e8;
    --burgundy: #800020;
    --purple: #4b0082;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, var(--wine-dark) 0%, var(--wine-medium) 50%, var(--wine-light) 100%);
    color: var(--cream);
    min-height: 100vh;
    position: relative;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(75, 0, 130, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(128, 0, 32, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(218, 165, 32, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
}

.brand-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--cream);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link .nav-icon {
    font-size: 1.1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
    background: rgba(218, 165, 32, 0.1);
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    background: rgba(218, 165, 32, 0.2);
    color: var(--cream);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.lang-btn .flag-icon {
    font-size: 1rem;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--gold);
    color: var(--wine-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--gold);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gold-light);
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), #f4d03f);
    color: var(--wine-dark);
    border-color: var(--gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--wine-dark);
    transform: translateY(-3px);
}

/* Hero Decoration */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.wine-bottle {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 80px;
    height: 200px;
    background: linear-gradient(180deg, rgba(34, 139, 34, 0.3), rgba(0, 100, 0, 0.5));
    border-radius: 10px 10px 40px 40px;
    animation: float 6s ease-in-out infinite;
}

.wine-bottle::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 30px;
    background: rgba(139, 69, 19, 0.7);
    border-radius: 4px;
}

.grape-vine {
    position: absolute;
    bottom: 20%;
    left: 8%;
    font-size: 4rem;
    opacity: 0.2;
    animation: float 8s ease-in-out infinite reverse;
}

.grape-vine::before {
    content: '🍇';
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Quick Tools */
.quick-tools {
    padding: 3rem 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tool-card {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.4), rgba(139, 69, 19, 0.2));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.1), transparent);
    transition: left 0.5s ease;
}

.tool-card:hover::before {
    left: 100%;
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: rgba(218, 165, 32, 0.6);
    box-shadow: 0 15px 35px rgba(218, 165, 32, 0.2);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.tool-card h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: var(--gold-light);
    opacity: 0.8;
}

/* Features */
.features {
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--gold-light);
    opacity: 0.9;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border-top: 2px solid rgba(218, 165, 32, 0.3);
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

.footer p {
    color: var(--gold-light);
    opacity: 0.8;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link .nav-icon {
        font-size: 1.2rem;
    }

    .lang-switcher {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .wine-bottle, .grape-vine {
        display: none;
    }
}