/* CSS Variables matching Architecture & User Rules */
:root {
    --forest-green: #1B4332;
    --forest-green-light: #2D6A4F;
    --forest-green-dark: #081C15;
    --coffee-brown: #4E342E;
    --coffee-brown-light: #795548;
    --cream-soft: #F5F5DC;
    --gold-premium: #D4AF37;
    --gold-premium-light: #F1D279;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--cream-soft);
    color: var(--forest-green);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
.font-serif {
    font-family: var(--font-serif);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(27, 67, 50, 0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: white;
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    font-family: var(--font-serif);
    letter-spacing: -0.02em;
}

.navbar.scrolled .logo {
    color: var(--forest-green);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.navbar.scrolled .nav-links a {
    color: var(--forest-green);
}

.nav-links a:hover {
    color: var(--gold-premium);
}

.btn-membership {
    background: var(--gold-premium);
    color: var(--forest-green) !important;
    padding: 0.75rem 1.75rem;
    border-radius: 99px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 5%;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(8, 28, 21, 0.7), rgba(8, 28, 21, 0.4));
    z-index: -1;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 1000px;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 700px;
    margin-bottom: 3.5rem;
    opacity: 0.9;
}

/* Advanced Filter Bar */
.filter-bar {
    width: 90%;
    max-width: 1100px;
    padding: 1.5rem;
    border-radius: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: -4rem;
    z-index: 10;
    position: relative;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.filter-group label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--forest-green);
    opacity: 0.6;
}

.filter-group select,
.filter-group input {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem;
    border-radius: 1rem;
    font-family: inherit;
    font-weight: 600;
    color: var(--forest-green);
    outline: none;
}

.btn-search {
    background: var(--forest-green);
    color: white;
    border: none;
    height: 100%;
    padding: 1rem;
    border-radius: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.btn-search:hover {
    background: var(--forest-green-light);
    transform: translateY(-2px);
}

/* Directory Grid */
.directory-section {
    padding: 8rem 5% 5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.producer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* Producer Card (Based on Component Artifact) */
.producer-card {
    background: white;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(27, 67, 50, 0.05);
    transition: all 0.5s;
    border: 1px solid rgba(27, 67, 50, 0.05);
}

.producer-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(27, 67, 50, 0.12);
}

.card-image-box {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.producer-card:hover .card-image {
    transform: scale(1.1);
}

.verified-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gold-premium);
    color: var(--forest-green);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.6rem;
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.altitude-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(245, 245, 220, 0.9);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1.25rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid white;
}

.altitude-val {
    font-size: 1rem;
    font-weight: 800;
}

.card-content {
    padding: 2.5rem;
}

.card-meta {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--coffee-brown-light);
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.card-varieties {
    background: rgba(245, 245, 220, 0.5);
    padding: 1rem;
    border-radius: 1.25rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.btn-contact {
    width: 100%;
    background: var(--forest-green);
    color: white;
    padding: 1.25rem;
    border-radius: 1.5rem;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: var(--forest-green-dark);
}

.btn-contact-icon {
    background: var(--gold-premium);
    color: var(--forest-green);
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Membership Section */
.membership-header {
    text-align: center;
    padding: 6rem 5% 4rem;
    background: var(--forest-green);
    color: white;
    border-radius: 4rem 4rem 0 0;
    margin: 5rem 5% 0;
}

.membership-header h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
}

.membership-header p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 450px));
    justify-content: center;
    gap: 2.5rem;
    padding: 0 5% 8rem;
    background: var(--forest-green);
    border-radius: 0 0 4rem 4rem;
    margin: 0 5% 5rem;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    padding: 3.5rem 2.5rem;
    border-radius: 3rem;
    color: var(--forest-green);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card.premium {
    background: var(--cream-soft);
    border: 2px solid var(--gold-premium);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.premium:hover {
    transform: scale(1.05) translateY(-15px);
}

.pricing-card.elite {
    background: var(--forest-green-dark);
    color: white;
    border: 1px solid var(--gold-premium);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-premium);
    color: var(--forest-green);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.plan-name {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.elite .plan-name {
    color: var(--gold-premium);
    opacity: 1;
}

.plan-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.plan-price {
    margin-bottom: 2.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-premium);
}

.amount {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    font-family: var(--font-serif);
}

.details {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 0.6;
    letter-spacing: 0.05em;
}

.elite .details {
    color: var(--gold-premium);
    opacity: 0.8;
}

.plan-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.plan-features li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(27, 67, 50, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.elite .plan-features li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-features li i {
    color: var(--gold-premium);
    flex-shrink: 0;
}

.btn-plan {
    width: 100%;
    padding: 1.25rem;
    border-radius: 1.5rem;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s;
}

.btn-plan-base {
    background: var(--forest-green);
    color: white;
}

.btn-plan-premium {
    background: var(--gold-premium);
    color: var(--forest-green);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-plan-elite {
    background: white;
    color: var(--forest-green-dark);
}

.btn-plan:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 1024px) {
    .membership-ad {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ad-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .filter-bar {
        grid-template-columns: 1fr;
        margin-top: -2rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}

/* New Sections Styles */
.story-section {
    padding: 10rem 5%;
    background: white;
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.story-image-canvas {
    position: relative;
    height: 600px;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(27, 67, 50, 0.4), transparent);
}

.sect-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gold-premium);
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.story-text h2 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--forest-green-dark);
}

.story-text p {
    font-size: 1.1rem;
    color: var(--forest-green);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.story-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(27, 67, 50, 0.1);
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--forest-green);
    margin-bottom: 0.25rem;
}

.stat-desc {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 0.5;
}

.registration-section {
    padding: 10rem 5%;
    background: var(--cream-soft);
}

.registration-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem;
    border-radius: 4rem;
    border: 1px solid rgba(27, 67, 50, 0.1);
}

.registration-header {
    text-align: center;
    margin-bottom: 4rem;
}

.registration-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.reg-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 0.6;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1.25rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.btn-reg {
    background: var(--forest-green);
    color: white;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: none;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.btn-reg:hover {
    background: var(--forest-green-dark);
    transform: translateY(-5px);
}

.form-feedback {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.form-feedback i {
    width: 64px;
    height: 64px;
    color: var(--forest-green-light);
}

.hidden {
    display: none;
}

@media (max-width: 900px) {
    .story-container {
        grid-template-columns: 1fr;
    }

    .story-image-canvas {
        height: 400px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .registration-card {
        padding: 3rem 2rem;
    }
}

/* Flyer Section */
.flyer-section {
    padding: 8rem 5%;
    background: white;
    display: flex;
    justify-content: center;
}

.flyer-container {
    max-width: 900px;
    width: 100%;
    padding: 3rem;
    border-radius: 4rem;
    text-align: center;
    border: 2px solid var(--gold-premium);
    background: var(--cream-soft);
    position: relative;
    box-shadow: 0 40px 80px rgba(27, 67, 50, 0.1);
}

.flyer-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-premium);
    color: var(--forest-green);
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.flyer-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.flyer-cta {
    max-width: 600px;
    margin: 0 auto;
}

.flyer-cta p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--forest-green-dark);
    margin-bottom: 2rem;
    line-height: 1.3;
}

/* Footer Section */
.main-footer {
    padding: 60px 5%;
    background: var(--forest-green-dark);
    color: white;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-logo {
    font-size: 2rem;
    letter-spacing: 0.1em;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-premium);
}

.footer-email {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-email:hover {
    opacity: 1;
    color: var(--gold-premium);
}

.footer-actions {
    margin-top: 16px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 12px 32px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    width: 100%;
}

.footer-legal {
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.footer-legal p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--cream-soft);
    opacity: 0.6;
    font-weight: 400;
    font-style: italic;
}