:root {
    --bg-dark: #000000;
    --bg-light: #1A1A1A;
    --gold-start: #D4AF37;
    --gold-mid: #C5A028;
    --gold-end: #CD7F32;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent: #D4AF37;
}

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

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    background: linear-gradient(150deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
    background: linear-gradient(45deg, var(--gold-start) 0%, var(--gold-mid) 50%, var(--gold-end) 100%);
    background-size: 200% auto;
    animation: gradientFlow 3s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

nav {
    margin-top: 1rem;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--gold-start);
}

nav a:hover::after {
    width: 100%;
}

main {
    padding: 80px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    animation: fadeIn 1s ease-out;
}

.hero h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gold-start) 0%, var(--gold-mid) 50%, var(--gold-end) 100%);
    background-size: 200% auto;
    animation: gradientFlow 3s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.primary-btn, .secondary-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-btn {
    background: linear-gradient(135deg, var(--gold-start) 0%, var(--gold-mid) 50%, var(--gold-end) 100%);
    background-size: 200% auto;
    animation: gradientFlow 3s ease infinite;
    border: none;
    color: var(--bg-dark);
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--gold-start);
    color: var(--gold-start);
    position: relative;
    overflow: hidden;
}

.secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: 0.5s;
}

.secondary-btn:hover::before {
    left: 100%;
}

.primary-btn:hover, .secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

.tech-stack {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.tech-stack i {
    font-size: 2.5rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.tech-stack i:hover {
    color: var(--gold-start);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--gold-start) 0%, var(--gold-mid) 50%, var(--gold-end) 100%);
    background-size: 200% auto;
    animation: gradientFlow 3s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.products-grid, .brewing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product, .brewing-item {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.product:hover, .brewing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.product i, .brewing-item i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.product h3, .brewing-item h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.product p, .brewing-item p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.product-features, .status {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-features span {
    color: var(--text-secondary);
}

.product-features i, .status i {
    background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-right: 0.5rem;
}

.badge {
    background: linear-gradient(135deg, var(--gold-start) 0%, var(--gold-mid) 50%, var(--gold-end) 100%);
    background-size: 200% auto;
    animation: gradientFlow 3s ease infinite;
    color: var(--bg-dark);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 1rem;
    margin-left: 1rem;
    vertical-align: middle;
}

.status {
    color: var(--gold-start);
    font-style: italic;
}

.contact {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.form-group textarea + i {
    top: 1.5rem;
    transform: none;
}

input, textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--gold-start);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--gold-start) 0%, var(--gold-mid) 50%, var(--gold-end) 100%);
    background-size: 200% auto;
    animation: gradientFlow 3s ease infinite;
    color: var(--bg-dark);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

footer {
    background: rgba(0, 0, 0, 0.95);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--gold-start);
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    header h1 {
        font-size: 2rem;
    }

    nav {
        display: flex;
        justify-content: space-between;
        margin-top: 0.8rem;
    }

    nav a {
        margin: 0 0.5rem;
        font-size: 0.9rem;
    }

    .hero h2 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid, .brewing-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .tech-stack {
        flex-wrap: wrap;
        justify-content: center;
    }
}
