:root {
    --bg-color: #050505;
    --card-bg: #0f111a;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #4f46e5;
    --primary-glow: rgba(79, 70, 229, 0.4);
    --gold: #eab308;
    --wine: #7c2d12;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
}

.brand {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--text-color);
}

.sub-brand {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -4px;
}

.lang-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('../assets/hero.png') no-repeat center right;
    background-size: cover;
    mask-image: linear-gradient(to left, black 40%, transparent);
    z-index: -1;
    opacity: 0.8;
}

.hero-content {
    max-width: 600px;
}

h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.highlight {
    color: var(--primary);
    text-shadow: 0 0 30px var(--primary-glow);
}

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

/* Buttons */
.btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-btn {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 24px var(--primary-glow);
}

.primary-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--primary-glow);
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 64px;
}

.alt-bg {
    background-color: #0a0a0a;
}

/* Ecosystem Grid */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.eco-card {
    padding: 40px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.3s ease;
    position: relative;
}

.eco-card.active {
    background: rgba(79, 70, 229, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(79, 70, 229, 0.1);
}

.eco-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.eco-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

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

/* Showcase Section */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.showcase-item {
}

.showcase-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.showcase-img-wrapper:hover {
    transform: scale(1.03) translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.2);
}

.showcase-img {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.showcase-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-item {
    padding: 40px;
    background: var(--card-bg);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

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

.feature-item h3 {
    font-size: 1.5rem;
    color: var(--text-color);
}

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

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.vinosphera-text {
    color: var(--primary);
    font-weight: 700;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero-bg {
        width: 100%;
        opacity: 0.4;
    }
    
    h1 {
        font-size: 2.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .ecosystem-grid, .features-grid, .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        gap: 48px;
    }
    
    .showcase-img-wrapper {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .showcase-item {
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero {
        padding-top: 60px;
    }
}
