/* ============================================================
   AGRIDAF — Site Stylesheet
   ============================================================ */

:root {
    --green-900: #1B3A2D;
    --green-800: #1B5E20;
    --green-700: #2E7D32;
    --green-600: #388E3C;
    --green-500: #43A047;
    --green-100: #E8F5E9;
    --green-50:  #F1F8F2;
    --gold-500:  #F9A825;
    --gold-400:  #FFB300;
    --gold-100:  #FFF8E1;
    --dark:      #111827;
    --dark-2:    #1F2937;
    --gray-600:  #4B5563;
    --gray-400:  #9CA3AF;
    --gray-100:  #F3F4F6;
    --white:     #FFFFFF;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,.10);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.14);
    --shadow-xl: 0 25px 60px rgba(0,0,0,.16);
    --transition: all .25s cubic-bezier(.4,0,.2,1);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

h4, h5, h6 { font-family: 'Inter', sans-serif; font-weight: 600; }

a { color: var(--green-700); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-500); }

.section-padding { padding: 90px 0; }
.section-padding-sm { padding: 60px 0; }

/* ---- Top Bar ---- */
.top-bar {
    background: var(--green-900);
    color: rgba(255,255,255,.75);
    font-size: .8rem;
    padding: 7px 0;
}
.top-bar a { color: rgba(255,255,255,.75); }
.top-bar a:hover { color: var(--gold-500); }
.top-bar-social a { margin-left: 12px; font-size: .85rem; }

/* ---- Navbar ---- */
.agridaf-nav {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    padding: 14px 0;
    transition: var(--transition);
    z-index: 1030;
}
.agridaf-nav.scrolled { padding: 10px 0; box-shadow: var(--shadow-md); }

.brand-logo { display: flex; align-items: center; gap: 10px; }
.brand-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.1rem; flex-shrink: 0;
}
.brand-icon-lg { width: 48px; height: 48px; font-size: 1.3rem; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.25rem; color: var(--green-800); }
.brand-tagline { font-size: .65rem; color: var(--gray-400); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }

.agridaf-nav .nav-link {
    color: var(--dark-2) !important;
    font-weight: 500; font-size: .92rem;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}
.agridaf-nav .nav-link:hover,
.agridaf-nav .nav-link.active { color: var(--green-700) !important; background: var(--green-50); }
.agridaf-nav .nav-link.active::after {
    content: '';
    position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--green-600); border-radius: 2px;
}

.btn-outline-nav {
    border: 1.5px solid var(--green-700); color: var(--green-700);
    border-radius: 8px; font-weight: 600; font-size: .85rem; padding: 7px 16px; transition: var(--transition);
}
.btn-outline-nav:hover { background: var(--green-700); color: white; }

.btn-primary-nav {
    background: linear-gradient(135deg, var(--green-700), var(--green-600));
    color: white; border-radius: 8px; font-weight: 600; font-size: .85rem;
    padding: 7px 16px; border: none; transition: var(--transition);
}
.btn-primary-nav:hover { background: linear-gradient(135deg, var(--green-800), var(--green-700)); color: white; transform: translateY(-1px); }

.btn-nav-user {
    background: var(--green-50); color: var(--green-800);
    border: 1.5px solid var(--green-100); border-radius: 8px;
    font-weight: 600; font-size: .85rem; padding: 7px 16px;
}
.btn-nav-user:hover { background: var(--green-100); }

/* ---- Buttons ---- */
.btn-green {
    background: linear-gradient(135deg, var(--green-700), var(--green-600));
    color: white; border: none; border-radius: var(--radius-sm);
    font-weight: 600; padding: 12px 28px; font-size: .95rem; transition: var(--transition);
}
.btn-green:hover { background: linear-gradient(135deg, var(--green-800), var(--green-700)); color: white; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(27,94,32,.35); }

.btn-gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--dark); border: none; border-radius: var(--radius-sm);
    font-weight: 700; padding: 12px 28px; font-size: .95rem; transition: var(--transition);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,168,37,.4); color: var(--dark); }

.btn-outline-green {
    border: 2px solid var(--green-700); color: var(--green-700); background: transparent;
    border-radius: var(--radius-sm); font-weight: 600; padding: 11px 28px; font-size: .95rem; transition: var(--transition);
}
.btn-outline-green:hover { background: var(--green-700); color: white; transform: translateY(-2px); }

.btn-outline-white {
    border: 2px solid rgba(255,255,255,.6); color: white; background: transparent;
    border-radius: var(--radius-sm); font-weight: 600; padding: 11px 28px; font-size: .95rem; transition: var(--transition);
}
.btn-outline-white:hover { background: white; color: var(--green-800); transform: translateY(-2px); }

/* ---- Section Labels ---- */
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green-50); color: var(--green-700);
    border: 1px solid rgba(46,125,50,.2); border-radius: 100px;
    padding: 6px 16px; font-size: .8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px;
}
.section-label-dark { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.2); }

/* ==== HERO ==== */
.hero-section {
    position: relative; min-height: 92vh;
    display: flex; align-items: center;
    background: linear-gradient(135deg, var(--green-900) 0%, #1B5E20 45%, #2E7D32 100%);
    overflow: hidden;
}
.hero-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(249,168,37,.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.04) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; padding: 80px 0; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(249,168,37,.15); border: 1px solid rgba(249,168,37,.3);
    color: var(--gold-500); border-radius: 100px; padding: 8px 20px;
    font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 24px;
}

.hero-title { font-size: clamp(2.4rem, 5vw, 4rem); color: white; margin-bottom: 20px; line-height: 1.15; }
.hero-title .highlight { color: var(--gold-500); }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,.8); max-width: 560px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }

.hero-btn-primary {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--dark); border: none; border-radius: var(--radius-sm);
    font-weight: 700; padding: 14px 32px; font-size: 1rem; transition: var(--transition);
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.hero-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(249,168,37,.45); color: var(--dark); }

.hero-btn-secondary {
    background: rgba(255,255,255,.1); color: white;
    border: 2px solid rgba(255,255,255,.3); border-radius: var(--radius-sm);
    font-weight: 600; padding: 13px 28px; font-size: 1rem; transition: var(--transition);
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px; backdrop-filter: blur(6px);
}
.hero-btn-secondary:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); color: white; transform: translateY(-2px); }

.hero-trust { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.6); font-size: .85rem; }
.hero-trust-dots { display: flex; gap: 4px; }
.hero-trust-dot {
    width: 28px; height: 28px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.4);
    background: linear-gradient(135deg, var(--green-600), var(--green-500));
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: .65rem; margin-left: -6px;
}
.hero-trust-dot:first-child { margin-left: 0; }

.hero-card {
    background: rgba(255,255,255,.08); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg);
    padding: 28px; color: white;
}
.hero-card-stat {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero-card-stat:last-child { border-bottom: none; padding-bottom: 0; }
.hero-card-stat:first-child { padding-top: 0; }
.hero-stat-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.hero-stat-icon.gold { background: rgba(249,168,37,.2); color: var(--gold-500); }
.hero-stat-icon.green { background: rgba(76,175,80,.2); color: #81C784; }
.hero-stat-icon.blue  { background: rgba(33,150,243,.2); color: #64B5F6; }
.hero-stat-icon.purple { background: rgba(156,39,176,.2); color: #CE93D8; }
.hero-stat-label { font-size: .78rem; color: rgba(255,255,255,.6); }
.hero-stat-value { font-size: 1.3rem; font-weight: 700; line-height: 1; }

.hero-floating-badge {
    position: absolute;
    background: white; border-radius: var(--radius-sm);
    padding: 10px 16px; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 8px;
    font-size: .82rem; font-weight: 600; color: var(--dark);
    animation: floatBadge 3s ease-in-out infinite;
}
.hero-floating-badge.top-left { top: 0; left: -20px; }
.hero-floating-badge.bottom-right { bottom: 30px; right: -10px; animation-delay: 1.5s; }
.hero-floating-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4CAF50; }
.hero-floating-badge .dot.gold { background: var(--gold-500); }
@keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ==== STATS ==== */
.stats-section { background: var(--dark); padding: 60px 0; }
.stat-card { text-align: center; padding: 20px; position: relative; }
.stat-card::after {
    content: ''; position: absolute; right: 0; top: 20%; bottom: 20%;
    width: 1px; background: rgba(255,255,255,.1);
}
.stat-card:last-child::after { display: none; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; color: var(--gold-500); line-height: 1; margin-bottom: 6px; }
.stat-label { color: rgba(255,255,255,.65); font-size: .9rem; font-weight: 500; }

/* ==== ABOUT ==== */
.about-section { background: var(--white); }
.about-feature {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px; border-radius: var(--radius-md); transition: var(--transition); margin-bottom: 8px;
}
.about-feature:hover { background: var(--green-50); }
.about-feature-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--green-100), var(--green-50));
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--green-700); font-size: 1.2rem; flex-shrink: 0;
}
.about-feature-title { font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.about-feature-desc { color: var(--gray-600); font-size: .88rem; margin: 0; }

/* ==== COMMUNITIES ==== */
.communities-section { background: var(--gray-100); }
.community-page-section { background: var(--gray-100); min-height: 80vh; }

.community-card {
    background: white; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    height: 100%; display: flex; flex-direction: column;
    border: 1px solid rgba(0,0,0,.05);
}
.community-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.community-card-header { padding: 28px 28px 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.community-card-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: white; flex-shrink: 0; }
.community-card-tier { font-size: .72rem; font-weight: 700; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; letter-spacing: .05em; }
.tier-free { background: var(--green-100); color: var(--green-700); }
.tier-professional { background: #E3F2FD; color: #1565C0; }
.tier-premium { background: #FFF8E1; color: #E65100; }
.tier-institutional { background: #F3E5F5; color: #6A1B9A; }
.community-card-body { padding: 0 28px 16px; flex: 1; }
.community-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.community-card-desc { color: var(--gray-600); font-size: .88rem; line-height: 1.65; margin-bottom: 16px; }
.community-benefits { list-style: none; padding: 0; margin: 0; }
.community-benefits li { display: flex; align-items: flex-start; gap: 8px; font-size: .83rem; color: var(--gray-600); margin-bottom: 6px; }
.community-benefits li i { color: var(--green-600); margin-top: 3px; flex-shrink: 0; font-size: .75rem; }
.community-card-footer { padding: 16px 28px 24px; border-top: 1px solid var(--gray-100); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.community-card-fee { font-size: .82rem; color: var(--gray-600); }
.community-card-fee strong { color: var(--dark); }
.community-members { font-size: .8rem; color: var(--gray-400); display: flex; align-items: center; gap: 5px; }
.btn-community-join {
    background: linear-gradient(135deg, var(--green-700), var(--green-600));
    color: white; border: none; border-radius: var(--radius-sm);
    font-weight: 600; font-size: .85rem; padding: 9px 22px; transition: var(--transition);
    text-decoration: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.btn-community-join:hover { background: linear-gradient(135deg, var(--green-800), var(--green-700)); color: white; transform: translateY(-1px); }
.btn-community-locked {
    background: var(--gray-100); color: var(--gray-400);
    border: 1.5px dashed rgba(0,0,0,.2);
    border-radius: var(--radius-sm); font-weight: 600; font-size: .85rem;
    padding: 9px 22px; cursor: not-allowed; display: inline-flex; align-items: center; gap: 6px;
}

/* ==== OPPORTUNITIES ==== */
.opportunities-section { background: white; }
.opportunities-page-section { background: var(--gray-100); min-height: 80vh; }
.opp-filter-bar { background: white; border-radius: var(--radius-md); padding: 20px 24px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.05); margin-bottom: 32px; }
.opp-filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.opp-tab { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 600; cursor: pointer; border: 1.5px solid rgba(0,0,0,.1); color: var(--gray-600); background: white; transition: var(--transition); text-decoration: none; }
.opp-tab:hover { border-color: var(--green-600); color: var(--green-700); }
.opp-tab.active { background: var(--green-700); color: white; border-color: var(--green-700); }
.opp-tab .count { background: rgba(0,0,0,.08); border-radius: 100px; padding: 1px 7px; font-size: .75rem; }
.opp-tab.active .count { background: rgba(255,255,255,.2); }

.opp-card { background: white; border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.05); transition: var(--transition); position: relative; overflow: hidden; }
.opp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.opp-card.featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); }

.opp-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 100px; padding: 3px 10px; font-size: .72rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; }
.badge-job        { background: #E3F2FD; color: #1565C0; }
.badge-grant      { background: #E8F5E9; color: #1B5E20; }
.badge-scholarship { background: #FFF8E1; color: #E65100; }
.badge-internship { background: #F3E5F5; color: #6A1B9A; }
.badge-consultancy { background: #FBE9E7; color: #BF360C; }
.badge-research   { background: #E0F2F1; color: #004D40; }

.opp-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; line-height: 1.3; }
.opp-org { font-size: .85rem; color: var(--green-700); font-weight: 600; margin-bottom: 10px; }
.opp-desc { font-size: .85rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.opp-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--gray-400); margin-bottom: 16px; }
.opp-meta span { display: flex; align-items: center; gap: 5px; }
.opp-meta i { color: var(--green-600); }
.deadline-badge { display: inline-flex; align-items: center; gap: 5px; background: #FFF8E1; color: #E65100; border-radius: 6px; padding: 4px 10px; font-size: .78rem; font-weight: 600; }
.funding-badge { display: inline-flex; align-items: center; gap: 5px; background: var(--green-100); color: var(--green-800); border-radius: 6px; padding: 4px 10px; font-size: .78rem; font-weight: 700; }
.remote-badge { background: #E3F2FD; color: #1565C0; border-radius: 100px; padding: 2px 9px; font-size: .72rem; font-weight: 600; }

/* ==== EXPERTS ==== */
.experts-section { background: var(--green-50); }
.experts-page-section { min-height: 80vh; background: var(--gray-100); }
.expert-card { background: white; border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.05); transition: var(--transition); text-align: center; }
.expert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.expert-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--green-700), var(--green-500)); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.8rem; font-weight: 700; margin: 0 auto 16px; position: relative; }
.expert-available-dot { position: absolute; bottom: 4px; right: 4px; width: 14px; height: 14px; background: #4CAF50; border-radius: 50%; border: 2px solid white; }
.expert-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.expert-title-text { font-size: .82rem; color: var(--green-700); font-weight: 600; margin-bottom: 4px; }
.expert-org { font-size: .8rem; color: var(--gray-400); margin-bottom: 12px; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-bottom: 16px; }
.expert-tag { background: var(--green-50); color: var(--green-700); border-radius: 100px; padding: 3px 10px; font-size: .72rem; font-weight: 600; }
.expert-cat-badge { display: inline-flex; align-items: center; gap: 5px; background: var(--gray-100); color: var(--gray-600); border-radius: 6px; padding: 4px 12px; font-size: .75rem; font-weight: 600; margin-bottom: 14px; }

/* ==== PARTNERS ==== */
.partners-section { background: white; padding: 80px 0; }
.partners-page-section { min-height: 80vh; background: white; }
.partner-card { background: white; border: 1px solid rgba(0,0,0,.07); border-radius: var(--radius-md); padding: 28px 24px; text-align: center; transition: var(--transition); height: 100%; }
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.partner-logo-placeholder { width: 80px; height: 80px; border-radius: var(--radius-sm); background: var(--green-50); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--green-600); margin: 0 auto 16px; }
.partner-name { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.partner-country { font-size: .8rem; color: var(--gray-400); margin-bottom: 8px; }
.partner-type-badge { display: inline-flex; align-items: center; background: var(--green-50); color: var(--green-700); border-radius: 100px; padding: 3px 10px; font-size: .72rem; font-weight: 600; margin-bottom: 12px; }
.partner-desc { font-size: .82rem; color: var(--gray-600); line-height: 1.6; }

/* ==== MEMBERSHIP ==== */
.membership-section { background: var(--gray-100); min-height: 80vh; }
.membership-hero { background: linear-gradient(135deg, var(--green-900), var(--green-700)); padding: 80px 0 120px; }
.pricing-card { background: white; border-radius: var(--radius-lg); padding: 36px 28px; box-shadow: var(--shadow-md); border: 2px solid transparent; transition: var(--transition); position: relative; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--green-600); }
.pricing-card.featured { border-color: var(--green-600); transform: scale(1.03); }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.pricing-popular-badge { position: absolute; top: 16px; right: 16px; background: linear-gradient(135deg, var(--gold-500), var(--gold-400)); color: var(--dark); border-radius: 100px; padding: 4px 12px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.pricing-tier-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }
.pricing-tier-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 700; line-height: 1; margin-bottom: 4px; color: var(--green-800); }
.pricing-period { font-size: .85rem; color: var(--gray-400); margin-bottom: 20px; }
.pricing-divider { border: none; border-top: 1px solid var(--gray-100); margin: 20px 0; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .87rem; color: var(--dark); margin-bottom: 10px; line-height: 1.5; }
.pricing-features li i { color: var(--green-600); margin-top: 2px; flex-shrink: 0; }
.pricing-features li.disabled { color: var(--gray-400); }
.pricing-features li.disabled i { color: var(--gray-400); }
.btn-pricing { width: 100%; padding: 13px; border-radius: var(--radius-sm); font-weight: 700; font-size: .95rem; transition: var(--transition); border: none; display: block; text-align: center; }
.btn-pricing-primary { background: linear-gradient(135deg, var(--green-700), var(--green-600)); color: white; }
.btn-pricing-primary:hover { background: linear-gradient(135deg, var(--green-800), var(--green-700)); color: white; transform: translateY(-2px); }
.btn-pricing-outline { background: transparent; color: var(--green-700); border: 2px solid var(--green-700) !important; }
.btn-pricing-outline:hover { background: var(--green-50); color: var(--green-700); }
.btn-pricing-gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-400)); color: var(--dark); }
.btn-pricing-gold:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(249,168,37,.4); }

.access-matrix { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.06); }
.access-matrix table { margin: 0; }
.access-matrix th { background: var(--green-800); color: white; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; padding: 14px 16px; }
.access-matrix td { padding: 12px 16px; font-size: .88rem; vertical-align: middle; }
.access-matrix tr:nth-child(even) td { background: var(--gray-100); }
.access-matrix .check-yes { color: var(--green-600); font-size: 1rem; }
.access-matrix .check-no { color: var(--gray-400); }

/* ==== DASHBOARD ==== */
.dashboard-section { background: var(--gray-100); min-height: 100vh; padding: 40px 0; }
.dashboard-sidebar { background: white; border-radius: var(--radius-lg); padding: 28px 20px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.06); height: fit-content; position: sticky; top: 100px; }
.dashboard-user-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--green-700), var(--green-500)); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 700; color: white; margin: 0 auto 12px; }
.dashboard-user-name { font-size: 1rem; font-weight: 700; text-align: center; margin-bottom: 2px; }
.dashboard-user-email { font-size: .8rem; color: var(--gray-400); text-align: center; margin-bottom: 16px; }
.dashboard-tier-badge { display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: var(--radius-sm); padding: 6px 14px; font-size: .8rem; font-weight: 700; margin-bottom: 24px; }
.dashboard-nav { list-style: none; padding: 0; margin: 0; }
.dashboard-nav li { margin-bottom: 4px; }
.dashboard-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--dark); font-size: .88rem; font-weight: 500; transition: var(--transition); text-decoration: none; }
.dashboard-nav a:hover, .dashboard-nav a.active { background: var(--green-50); color: var(--green-700); font-weight: 600; }
.dashboard-nav a i { width: 18px; text-align: center; }
.dashboard-card { background: white; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.06); margin-bottom: 20px; }
.dashboard-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.dashboard-card-title i { color: var(--green-600); }
.community-access-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--green-50); color: var(--green-800); border: 1px solid rgba(46,125,50,.15); border-radius: var(--radius-sm); padding: 10px 16px; font-size: .85rem; font-weight: 600; transition: var(--transition); text-decoration: none; }
.community-access-chip:hover { background: var(--green-100); color: var(--green-900); transform: translateY(-2px); }
.community-access-chip i { color: var(--green-600); }
.community-locked-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--gray-100); color: var(--gray-400); border: 1px dashed rgba(0,0,0,.15); border-radius: var(--radius-sm); padding: 10px 16px; font-size: .85rem; font-weight: 600; }

/* ==== AUTH ==== */
.auth-section { min-height: 100vh; background: linear-gradient(135deg, var(--green-900) 0%, #1B5E20 60%, #2E7D32 100%); display: flex; align-items: center; padding: 60px 0; }
.auth-card { background: white; border-radius: var(--radius-lg); padding: 40px 36px; box-shadow: var(--shadow-xl); max-width: 520px; width: 100%; margin: 0 auto; }
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; text-align: center; }
.auth-subtitle { color: var(--gray-600); font-size: .9rem; text-align: center; margin-bottom: 28px; }
.form-label { font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--dark-2); }
.form-control { border: 1.5px solid rgba(0,0,0,.1); border-radius: var(--radius-sm); padding: 11px 14px; font-size: .9rem; transition: var(--transition); }
.form-control:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(46,125,50,.12); outline: none; }
.form-select { border: 1.5px solid rgba(0,0,0,.1); border-radius: var(--radius-sm); padding: 11px 14px; font-size: .9rem; }
.form-select:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(46,125,50,.12); }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--gray-400); font-size: .82rem; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: rgba(0,0,0,.1); }

/* ==== PAGE HEADERS ==== */
.page-header { background: linear-gradient(135deg, var(--green-900), var(--green-700)); padding: 70px 0 80px; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/svg%3E"); }
.page-header-content { position: relative; z-index: 2; }
.page-header h1 { color: white; font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 12px; }
.page-header .lead { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 640px; }
.breadcrumb-agridaf .breadcrumb-item a { color: rgba(255,255,255,.6); }
.breadcrumb-agridaf .breadcrumb-item.active { color: rgba(255,255,255,.85); }
.breadcrumb-agridaf .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ==== SEARCH BAR ==== */
.search-bar-wrapper { background: white; border-radius: var(--radius-md); padding: 20px 24px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.05); margin-bottom: 28px; }

/* ==== CTA ==== */
.cta-section { background: linear-gradient(135deg, var(--green-900), var(--green-700)); padding: 90px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -60px; right: -60px; width: 350px; height: 350px; background: rgba(255,255,255,.03); border-radius: 50%; }
.cta-section::after { content: ''; position: absolute; bottom: -80px; left: -40px; width: 280px; height: 280px; background: rgba(249,168,37,.06); border-radius: 50%; }

/* ==== FOOTER ==== */
.site-footer { background: var(--dark); }
.footer-main { padding: 70px 0 50px; }
.footer-desc { color: rgba(255,255,255,.55); font-size: .88rem; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: .85rem; transition: var(--transition); }
.footer-social a:hover { background: var(--green-700); border-color: var(--green-700); color: white; transform: translateY(-2px); }
.footer-heading { color: white; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-500); padding-left: 4px; }
.footer-newsletter .form-control { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: white; border-radius: var(--radius-sm) 0 0 var(--radius-sm); padding: 10px 16px; }
.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter .form-control:focus { border-color: var(--gold-500); box-shadow: none; background: rgba(255,255,255,.12); }
.footer-newsletter .btn-gold { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 10px 20px; }
.footer-contact a { color: rgba(255,255,255,.55); font-size: .85rem; }
.footer-contact a:hover { color: var(--gold-500); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; color: rgba(255,255,255,.4); font-size: .82rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.4); font-size: .82rem; transition: var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ==== RESPONSIVE ==== */
@media (max-width: 991px) {
    .agridaf-nav .navbar-collapse { padding: 16px 0; }
    .navbar-actions { flex-direction: row; flex-wrap: wrap; margin-top: 12px; }
    .hero-visual { display: none; }
    .hero-content { padding: 60px 0; }
    .stat-card::after { display: none; }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-6px); }
}
@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .section-padding { padding: 60px 0; }
    .auth-card { padding: 28px 20px; }
    .opp-filter-tabs { gap: 6px; }
    .opp-tab { font-size: .8rem; padding: 7px 12px; }
    .page-header { padding: 50px 0 60px; }
    .membership-hero { padding: 50px 0 80px; }
    .footer-bottom { text-align: center; }
    .footer-bottom-links { justify-content: center; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-btn-primary, .hero-btn-secondary { width: 100%; justify-content: center; }
}
