/* AINNA Smart Farming NeuralOps - AINNA Brand Design System */

/* ================================ */
/* CSS VARIABLES - LIGHT & DARK     */
/* ================================ */
:root {
    --sf-green-primary: #2e7d32;
    --sf-green-secondary: #3fbc1e;
    --sf-green-dark: #1a361a;
    /* Day Mode (Light) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8faf8;
    --bg-tertiary: #edf7ed;
    --text-primary: #1d1d1f;
    --text-secondary: #424245;
    --text-tertiary: #86868b;
    --accent-primary: #2e7d32;
    --accent-secondary: #3fbc1e;
    --border-light: #d2d2d7;
    --border-medium: #c2c2c7;
    --shadow-sm: 0 2px 8px rgba(46,125,50,0.08);
    --shadow-md: 0 4px 16px rgba(46,125,50,0.10);
    --shadow-lg: 0 8px 32px rgba(46,125,50,0.15);
    --shadow-xl: 0 12px 48px rgba(46,125,50,0.20);
    --gradient-pastel: linear-gradient(135deg, #f0faf0 0%, #e8f5e8 50%, #edf7ed 100%);
    --gradient-accent: linear-gradient(135deg, #3fbc1e 0%, #2e7d32 100%);
    --glow-subtle: 0 0 40px rgba(63,188,30,0.10);
    --glow-green: 0 0 20px rgba(63,188,30,0.5);
    --bg-card: rgba(46,125,50,0.05);
    --border-color: rgba(46,125,50,0.2);
}

[data-theme="dark"] {
    /* Night Mode (Dark) */
    --bg-primary: #0a0f0a;
    --bg-secondary: #121a12;
    --bg-tertiary: #1a251a;
    --text-primary: #ffffff;
    --text-secondary: #d0e0d0;
    --text-tertiary: #90a890;
    --accent-primary: #3fbc1e;
    --accent-secondary: #2e7d32;
    --border-light: #2a3a2a;
    --border-medium: #3a4a3a;
    --shadow-sm: 0 2px 8px rgba(63,188,30,0.10);
    --shadow-md: 0 4px 16px rgba(63,188,30,0.15);
    --shadow-lg: 0 8px 32px rgba(63,188,30,0.20);
    --shadow-xl: 0 12px 48px rgba(63,188,30,0.30);
    --gradient-pastel: linear-gradient(135deg, #0a0f0a 0%, #121a12 50%, #1a251a 100%);
    --gradient-accent: linear-gradient(135deg, #3fbc1e 0%, #2e7d32 100%);
    --glow-subtle: 0 0 60px rgba(63,188,30,0.20);
    --glow-green: 0 0 30px rgba(63,188,30,0.8);
    --bg-card: rgba(46,125,50,0.10);
    --border-color: rgba(63,188,30,0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

/* ================================ */
/* THEME TOGGLE                     */
/* ================================ */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 10000;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-secondary);
}

.theme-toggle .sun-icon { 
    display: none; 
    color: #f59e0b; /* Day-mode amber */
}
.theme-toggle .moon-icon { 
    display: block; 
    color: #4b5563; /* Day-mode slate */
}

[data-theme="dark"] .theme-toggle {
    background: var(--bg-tertiary);
    border-color: var(--accent-secondary);
}

[data-theme="dark"] .theme-toggle .sun-icon { 
    display: block; 
    color: #fbbf24; /* Night-mode gold */
}
[data-theme="dark"] .theme-toggle .moon-icon { 
    display: none; 
    color: #ffffff; /* Night-mode white */
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* ================================ */
/* NAVIGATION                       */
/* ================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Theme toggle positioning: mobile centered in top bar, desktop right */
@media (max-width: 768px) {
    .nav__container {
        flex-direction: row;
        justify-content: space-between;
    }
    .theme-toggle {
        order: 1;
        position: absolute;
        left: 50%;
        top: 45%; /* Lifted slightly up to avoid touching the bottom border */
        transform: translate(-50%, -50%);
    }
    .nav__burger {
        order: 2;
        margin-left: auto;
    }
}

@media (min-width: 769px) {
    .theme-toggle { order: 2; }
    .nav__burger { order: 3; }
}



.nav__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav__logo:hover {
    color: var(--accent-primary);
}

.nav__menu {
    display: flex;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 769px) {
    .nav__link--more { display: none; }
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}
/* Dark‑mode contrast improvements */
[data-theme="dark"] .nav__burger span {
    background: var(--accent-primary); /* brighter against dark nav */
}
[data-theme="dark"] .nav__link {
    color: var(--accent-secondary); /* lighter, high‑contrast text */
}
[data-theme="dark"] .nav__menu.active .nav__link {
    color: var(--accent-secondary);
}

.nav__menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 1rem;
    right: 1rem;
    background: rgba(10, 15, 10, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    gap: 0;
    z-index: 999;
}

.nav__menu.active .nav__link {
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(63,188,30,0.1);
}

.nav__menu.active .nav__link:last-child {
    border-bottom: none;
}

.nav__burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__burger.active span:nth-child(2) {
    opacity: 0;
}

.nav__burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav__link {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    position: relative;
    font-size: 0.9rem;
}

.nav__link:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(63,188,30,0.8);
}

.nav__link.active {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(63,188,30,0.8);
    font-weight: 600;
}

/* ================================ */
/* SECTIONS                         */
/* ================================ */
.section {
    padding: 6rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.section__copy {
    font-size: 1.125rem;
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

/* ================================ */
/* HERO BACKGROUND IMAGE            */
/* ================================ */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}
.hero .hero__content {
    z-index: 2;
}
.hero .hero__title {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    color: #ffffff !important;
}
.hero .hero__subtitle {
    color: rgba(255,255,255,0.85) !important;
}
.hero .hero__copy {
    color: #ffffff !important;
}
.hero .btn--secondary {
    background: rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(8px);
    border-color: rgba(255,255,255,0.3) !important;
    color: #ffffff !important;
}
.hero .btn--secondary:hover {
    background: rgba(255,255,255,0.25) !important;
    color: #ffffff !important;
}

/* ================================ */
/* HERO SECTION                     */
/* ================================ */
.hero {
    padding: 12rem 2rem 6rem;
    background: var(--gradient-pastel);
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(63,188,30,0.08), transparent 50%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.hero__title {
    font-size: 2.25rem;
    text-align: center;
    margin-top: 2rem;
    line-height: 1.1;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero__copy {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    width: 100%;
}

.hero__visual {
    margin-top: 3rem;
}

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

.hero .node {
    height: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    font-size: 2rem;
    color: var(--accent-primary);
}

.hero .node:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-green);
    background: rgba(63,188,30,0.15);
}

/* ================================ */
/* CARDS                            */
/* ================================ */
.cards {
    display: grid;
    gap: 1.5rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cards--grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cards--vertical {
    grid-template-columns: 1fr;
    max-width: 800px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(63,188,30,0.2), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--glow-green);
    border-color: var(--accent-secondary);
}

.card--arch {
    text-align: center;
}

.card--arch h3 {
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.card--arch p {
    color: var(--text-secondary);
}

/* ================================ */
/* BUTTONS                          */
/* ================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

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

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

.btn--primary {
    background: var(--gradient-accent);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background: transparent;
    color: var(--accent-secondary);
    border: 2px solid var(--accent-secondary);
}

.btn--secondary:hover {
    background: var(--gradient-accent);
    color: #ffffff;
    border-color: transparent;
}

.final-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    width: 100%;
}

/* ================================ */
/* ROUTING TABLE                    */
/* ================================ */
.table-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.routing-table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    border-collapse: collapse;
}

.routing-table th {
    background: rgba(63,188,30,0.1);
    color: var(--accent-secondary);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.routing-table td {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
}

.routing-table tr:hover {
    background: rgba(63,188,30,0.05);
}

/* ================================ */
/* FLOW VISUAL                      */
/* ================================ */
.flow-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-visual .node {
    min-width: 120px;
    height: 60px;
    font-size: 0.875rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    padding: 0 1rem;
}

.arrow {
    font-size: 1.5rem;
    color: var(--accent-secondary);
    animation: pulse 2s ease-in-out infinite;
}

/* ================================ */
/* EXAMPLE FLOW                     */
/* ================================ */
.example-flow {
    background: var(--bg-card);
    border-left: 4px solid var(--accent-secondary);
    padding: 1.5rem;
    margin: 1.5rem auto;
    max-width: 600px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--accent-primary);
    white-space: pre-wrap;
}

.pitch-line {
    text-align: center;
    font-size: 1.25rem;
    color: var(--accent-secondary);
    margin: 2rem 0;
    font-style: italic;
}

/* ================================ */
/* FOOTER                           */
/* ================================ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer__grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer__col h4 {
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer__col p {
    color: var(--text-secondary);
}

/* ================================ */
/* ANIMATIONS                       */
/* ================================ */
@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(63,188,30,0.5)); }
    to { filter: drop-shadow(0 0 30px rgba(63,188,30,0.8)); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

/* ================================ */
/* SCROLLBAR                        */
/* ================================ */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-secondary) var(--bg-primary);
}

*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--accent-secondary);
    border-radius: 4px;
}

/* ================================ */
/* MOBILE RESPONSIVE                */
/* ================================ */
@media (max-width: 768px) {
    .nav__menu {
        display: none;
    }
    
    .nav__burger {
        display: flex;
    }
    
    .section__title {
        font-size: 1.75rem;
    }
    
    .hero {
        flex-direction: column;
        padding: 10rem 1rem 4rem;
        min-height: auto;
    }
    
    .hero__title {
        font-size: 2.25rem;
    }
    
    .hero__cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .cards--grid {
        grid-template-columns: 1fr;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .flow-visual {
        flex-direction: column;
    }
    
    .routing-table {
        font-size: 0.875rem;
    }
    
    .routing-table th,
    .routing-table td {
        padding: 0.5rem;
    }
    
    .hero__visual {
        margin-top: 2rem;
    }
    
    .hero .node {
        font-size: 1.75rem;
        height: 80px;
    }
    
    .btn {
        font-size: 0.875rem;
        padding: 0.75rem 1.5rem;
    }
}

/* ================================ */
/* END OF CSS                       */
/* ================================ */

/* Agriculture Futuristic Icons - Two Tone Theme Aware */
.icon-agri {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.icon-agri:hover {
    transform: scale(1.2) rotate(5deg);
}

/* Primary Color - Theme Aware */
.icon-agri-primary {
    stroke: var(--accent-primary);
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Secondary Color - Accent */
.icon-agri-secondary {
    stroke: var(--accent-secondary);
    stroke-width: 1.4;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.7;
}

/* Theme adjustments via CSS variables already handle most. Let's add a subtle glow */
.icon-agri path {
    transition: stroke 0.3s ease, opacity 0.3s ease;
}

/* Night mode overrides (if any additional ones needed) */
[data-theme="dark"] .icon-agri-primary {
    stroke: var(--accent-primary); /* Uses --accent-primary (which is #3fbc1e in dark mode) */
}

[data-theme="dark"] .icon-//C-S-T-T... (omitted)...-S-O-T-R-R-D-L-I-S-S-S-E-T-S-I-C-O-P-T-I-T-C-L-O-N-L-L-T-L-L-T-S-S-P-S-U-C-L-T-S-S-C-T-O-R-T-A-T-I-T-S-S-P-S-U-C-L-T-S-S-C-T-O-R-T-A-T-I-T-S-S-P-S-U-C-L-T-S-S-C-T-O-R-T-A-T-I-T-S-S-P-S-U-C-L-T-S-S-C-T-O-R-T-A-T-I-T-S-S-P-S-U-C-L-T-S-S-C-T-O-R-T-A-T-I-T-S-S-P-S-U-C-L-T-S-S-C-T-O-R-T-A-T-I-T-S-S-P-S-U-C-L-T-S-S-C-T-O-R-T-A-T-I-T-S-S-P-S-U-C-L-T-S-S-C-T-O-R-T-A-T-I-T-S-S-P-S-U-C-L-T-S-S-C-T-O-R-T-A-T-I-T-S-S-P-S-U-C-L-T-S-S-C-T-O-R-T-A-T-I-T-S-S-P-S-U-C-L-T-S-S-C-T-O-R-T-A-T-I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-T-O-R-T-A-T-I-T-S-S-P-S-U-C-L-T-S-S-C-T-O-R-T-A-T-I-T-S-S-P-S-U-C-L-T-S-S-C-T-O-R-T-A-T-I-T-S-S-P-S-U-C-L
/* Agriculture Futuristic Icons - Two Tone Theme Aware */
.icon-agri {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.icon-agri:hover {
    transform: scale(1.2) rotate(5deg);
}

/* Primary Color - Theme Aware */
.icon-agri-primary {
    stroke: var(--accent-primary);
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Secondary Color - Accent */
.icon-agri-secondary {
    stroke: var(--accent-secondary);
    stroke-width: 1.4;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.7;
}

/* Theme adjustments via CSS variables already handle most. Let's add a subtle glow */
.icon-agri path {
    transition: stroke 0.3s ease, opacity 0.3s ease;
}

/* Night mode overrides (if any additional ones needed) */
[data-theme="dark"] .icon-agri-primary {
    stroke: var(--accent-primary); /* Uses --accent-primary (which is #3fbc1e in dark mode) */
}

[data-theme="dark"] .icon-agri-secondary {
    stroke: var(--accent-secondary); /* Uses #2e7d32 in dark mode */
    opacity: 0.8;
}

/... existing styles ... /

/* Responsive Theme Toggle Positioning */
@media (max-width: 768px) {
  .nav__menu {
    display: flex !important;
    flex-direction: row !important;
  }
  .theme-toggle {
    order: 0 !important;
    margin-right: 4px !important;
  }
}

@media (min-width: 769px) {
  .nav__menu {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
  }
  .theme-toggle {
    order: 2 !important;
    margin-left: 4px !important;
  }
}

/* Ensure SVG icons have sufficient contrast */
.icon-agri-primary,
.icon-agri-secondary {
    stroke: var(--accent-primary);
    stroke-width: 2;
    fill: none;
}
.icon-agri-secondary {
    stroke: var(--accent-secondary);
}

/* Ensure SVG icons retain high contrast in both themes */
.icon-agri-primary,
.icon-agri-secondary {
    stroke: var(--accent-primary);
    stroke-width: 2;
    fill: none;
}
.icon-agri-secondary {
    stroke: var(--accent-secondary);
}

/* Optional: boost contrast on hover/focus */
.icon-agri-primary:hover,
.icon-agri-secondary:hover {
    opacity: 1;
    transform: scale(1.05);
}
