:root {
    --bg-body: #FFFFFF;
    --bg-segment: #F9FAFB;
    --bg-dark: #111111;

    --text-main: #1F2937;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;

    --accent-color: #B8860B;
    --accent-hover: #9A7009;

    --font-body: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;

    --container-width: 1200px;
    --radius-card: 24px;
    --header-height: 80px;
    
    --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    width: 100%;
    padding: 120px 0;
    position: relative;
}

.bg-white { background-color: var(--bg-body); }
.bg-segment { background-color: var(--bg-segment); }
.bg-dark { 
    background-color: var(--bg-dark); 
    color: #fff; 
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--text-main);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: var(--accent-color);
    color: #fff;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.brand-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo span { color: var(--accent-color); }

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 48px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    opacity: 0.8;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.nav-links a:hover::after { width: 100%; }

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--text-main);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    font-weight: 300;
}

.hero-visual {
    position: relative;
}

.hero-img-main {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-card);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.08);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #FEF3C7;
    top: -100px;
    right: -100px;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.badge-icon {
    width: 50px;
    height: 50px;
    background: #FFFBEB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.badge-text h5 { font-size: 1rem; margin-bottom: 2px; }
.badge-text span { font-size: 0.85rem; color: var(--text-muted); }

.features-list-head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.feature-tag-head {
    background: transparent;
    border: 1px solid transparent;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-tag-head span {
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-img-box img {
    border-radius: var(--radius-card);
    width: 100%;
    box-shadow: var(--shadow-soft);
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.feature-tag {
    background: #fff;
    border: 1px solid #E5E7EB;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-tag span {
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
}

.catalog-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.catalog-header h2 { margin-bottom: 10px; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #f3f4f6;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.add-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: auto;
    height: 40px;
    padding: 0 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 10;
}

.add-btn:hover {
    background: var(--text-main);
    color: #fff;
    transform: translateY(-2px);
}

.card-info { padding: 24px; }

.card-meta {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: block;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.card-price {
    font-weight: 500;
    color: var(--accent-color);
    font-size: 1.1rem;
}

footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 80px 0 40px;
    border-top: 1px solid #222;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #fff;
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: #888;
    transition: 0.3s;
}

.footer-links a:hover { color: #fff; }

.copyright {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

section h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-main);
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .hero-content-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 60px 24px;
        background: url('../assets/image/bean_primary_mobile.jpg') no-repeat center center/cover;
        border-radius: var(--radius-card);
        margin: 0 24px;
        min-height: auto;
    }

    .hero-content-wrapper::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: var(--radius-card);
        z-index: 0;
    }

    .hero-text {
        position: relative;
        z-index: 1;
        padding: 0;
    }

    .hero-text h1 {
        color: #fff;
        font-size: 2.8rem;
    }

    .hero-text p {
        color: #fff;
        font-weight: 400;
        margin-bottom: 30px;
    }

    .hero-img-main, 
    .hero-visual, 
    .floating-badge {
        display: none;
    }

    .features-list-head {
        justify-content: center;
    }

    .feature-tag-head {
        color: #fff;
        background: rgba(255, 255, 255, 0.231);/
        backdrop-filter: blur(5px);
    }

    .feature-tag-head span {
        background: #fff;
    }

    .btn-primary {
        background: #fff;
        color: #000;
        border: 2px solid #fff;
        margin-bottom: 0;
    }

    .btn-primary:hover {
        border-color: var(--accent-color);
        background-color: var(--accent-color);
        color: #fff;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-list {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }

    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 2.2rem !important; margin-bottom: 20px; }
}

@media (max-width: 600px) {
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content-wrapper {
        margin: 0;
        border-radius: 0;
    }
    .hero-content-wrapper::before { border-radius: 0; }
}

@media (min-width: 1025px) {
    .mobile-menu-btn { display: none; }
}