/* Agroculus marka — cam çerçeve + çizgi ikon (köşe artefaktı yok) */

.agro-brand-mark {
    --agro-brand-size: 72px;
    --agro-brand-radius: 14px;
    --agro-brand-icon: #a7f3d0;
    flex-shrink: 0;
    width: var(--agro-brand-size);
    height: var(--agro-brand-size);
    display: flex;
    align-items: center;
    justify-content: center;
}

.agro-brand-mark__frame {
    width: 100%;
    height: 100%;
    border-radius: var(--agro-brand-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--agro-brand-icon);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.agro-brand-mark__icon {
    width: 100%;
    height: 100%;
    display: block;
}

/* Sidebar: koyu menü ile uyumlu, doygun yeşil kutu yok */
.agro-brand-mark--sidebar {
    --agro-brand-icon: #b8f0d8;
}

.agro-brand-mark--sidebar .agro-brand-mark__frame {
    position: relative;
    overflow: visible;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.agro-brand-mark--sidebar .agro-brand-mark__frame::after {
    display: none;
}

.agro-brand-mark__icon--web {
    position: relative;
    z-index: 1;
    width: 96%;
    height: 96%;
    transform: none;
    filter:
        drop-shadow(0 5px 8px rgba(0, 0, 0, 0.32))
        drop-shadow(0 0 5px rgba(72, 242, 162, 0.18));
}

.agro-brand-mark__core-glow {
    fill: rgba(52, 211, 153, 0.09);
}

.agro-brand-mark__lens-ring,
.agro-brand-mark__lens-spark,
.agro-brand-mark__mini-arch {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.agro-brand-mark__lens-ring {
    stroke: rgba(232, 255, 242, 0.9);
    stroke-width: 1.35;
}

.agro-brand-mark__lens-spark {
    stroke: rgba(236, 255, 245, 0.78);
    stroke-width: 1.1;
}

.agro-brand-mark__mini-arch {
    stroke: rgba(236, 255, 245, 0.88);
    stroke-width: 1.1;
}

.agro-brand-mark__a-shadow {
    fill: rgba(5, 63, 39, 0.78);
    transform: translate(0.6px, 0.8px);
}

.agro-brand-mark__a-solid {
    fill: #ffffff;
    stroke: rgba(215, 255, 233, 0.92);
    stroke-width: 0.5;
    stroke-linejoin: round;
}

.agro-brand-mark__a-window {
    fill: rgba(4, 40, 24, 0.94);
}

.agro-brand-mark__a-highlight {
    fill: none;
    stroke: rgba(255, 255, 255, 0.46);
    stroke-width: 0.75;
    stroke-linecap: round;
}

.agro-brand-mark__signal-line {
    fill: none;
    stroke: rgba(190, 255, 219, 0.68);
    stroke-width: 1;
    stroke-linecap: round;
}

.agro-brand-mark__leaf-dot {
    fill: #8cffc3;
    stroke: rgba(3, 53, 31, 0.48);
    stroke-width: 0.42;
}

/* Yükleme: biraz daha parlak ama yine cam tonu */
.agro-brand-mark--loading {
    --agro-brand-size: 76px;
    --agro-brand-icon: #d1fae5;
    animation: agro-brand-float 2.6s ease-in-out infinite;
}

.agro-brand-mark--loading .agro-brand-mark__frame {
    background: linear-gradient(160deg, rgba(110, 231, 183, 0.14) 0%, rgba(15, 23, 42, 0.35) 100%);
    border-color: rgba(110, 231, 183, 0.32);
    box-shadow:
        0 0 0 1px rgba(110, 231, 183, 0.08),
        0 10px 36px rgba(0, 0, 0, 0.35),
        0 0 28px rgba(74, 222, 128, 0.12);
}

@keyframes agro-brand-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
    .agro-brand-mark--loading {
        animation: none;
    }
}
